Lines Matching +full:cmake +full:- +full:options
1 For Windows builds - see the Windows Section
12 * Change to the directory that you want to install the libcoap sub-directory
19 * Change to the directory that you want to install the libcoap sub-directory
21 * Then clone the latest (develop) version of the code:-
24 * Optionally, change the branch from develop to the stable main branch:-
42 General Building with cmake for linux/windows/macos/android (not for LwIP or Contiki - see below)
45 cmake -E remove_directory build
46 cmake -E make_directory build
48 cmake .. -DENABLE_TESTS=ON
49 cmake --build .
50 [sudo] cmake --build . -- install
53 Note: to see possible options (TLS lib, doc, tests, examples etc.):
54 cmake -LH build
56 Note: For Windows, this is supported by Visual Studio Code with CMake extension
57 Note: You must use cmake version >=3.10.
59 Note: you can use cmake's find package after installation: find_package(libcoap-2 REQUIRED),
60 and target_link_libraries(myTarget PRIVATE libcoap::coap-2)
64 General Building with autoconf (not for LwIP or Contiki - see below)
75 It is possible that you may need to provide some options to ./configure
84 ./configure --help
85 gives the specific options available to libcoap.
87 Some examples are:-
90 ./configure --enable-tests --disable-documentation --enable-examples --disable-dtls --enable-shared
93 …./configure --enable-tests --disable-documentation --enable-examples --with-tinydtls --enable-shar…
95 Note: FreeBSD requires gmake instead of make when building TinyDTLS - i.e.
100 ./configure --with-openssl --enable-tests --enable-shared
103 ./configure --with-gnutls --enable-tests --enable-shared
105 Note: --disable-documentation disables the building of doxygen and man page
106 files. If you want to only disable one of them, use --disable-doxygen or
107 --disable-manpages. Doxygen requires the program doxygen and man pages require
110 If you need to rebuild the libcoap-*.{map,sym} files to update any exposed
113 make update-map-file
121 ./configure --disable-tests --disable-documentation --disable-examples --disable-dtls
131 ./configure --disable-tests --disable-documentation --disable-examples --disable-dtls
135 Executable is ./server.minimal-net. See examples/contiki/README for further
157 Alternatively you can build everything in Visual Studio with CMake.