Lines Matching +full:cmake +full:- +full:3
7 How To Compile with CMake
9 Building with CMake
12 from source code using the CMake build tool. To build with CMake, you will
13 of course have to first install CMake. The minimum required version of
14 CMake is specified in the file CMakeLists.txt found in the top of the curl
15 source tree. Once the correct version of CMake is installed you can follow
18 CMake builds can be configured either from the command line, or from one
19 of CMake's GUI's.
21 Current flaws in the curl CMake build
24 Missing features in the cmake build:
26 - Builds libcurl without large file support
27 - Does not support all SSL libraries (only OpenSSL, WinSSL, DarwinSSL, and
29 - Doesn't build with SCP and SFTP support (libssh2) (see issue #1155)
30 - Doesn't allow different resolver backends (no c-ares build support)
31 - No RTMP support built
32 - Doesn't allow build curl and libcurl debug enabled
33 - Doesn't allow a custom CA bundle path
34 - Doesn't allow you to disable specific protocols from the build
35 - Doesn't find or use krb4 or GSS
36 - Rebuilds test files too eagerly, but still can't run the tests
37 - Does't detect the correct strerror_r flavor when cross-compiling (issue #1123)
40 Command Line CMake
42 A CMake build of curl is similar to the autotools build of curl. It
48 $ mkdir curl-build
49 $ cd curl-build
51 2. Run CMake from the build tree, giving it the path to the top of
52 the curl source tree. CMake will pick a compiler for you. If you
54 variable prior to running CMake.
56 $ cmake ../curl
59 3. Install to default location:
63 (The test suite does not work with the cmake build)
67 CMake comes with a curses based interface called ccmake. To run ccmake on
68 a curl use the instructions for the command line cmake, but substitute
69 ccmake ../curl for cmake ../curl. This will bring up a curses interface
74 cmake-gui
76 CMake also comes with a Qt based GUI called cmake-gui. To configure with
77 cmake-gui, you run cmake-gui and follow these steps:
82 same as the source tree, but a parallel directory called curl-build or
84 3. Once the source and binary directories are specified, press the
90 6. Run the native build tool that you used CMake to generate.