-
Notifications
You must be signed in to change notification settings - Fork 29
Build options
Himanshu Shekhar edited this page Oct 4, 2017
·
1 revision
By default the library is built as a static library
in Release
mode (fit for production use). Also to speed up build time, test suites, docs and samples are not build by default.
cmake -DCMAKE_BUILD_TYPE=Debug ../
make install
cmake -DFORCE_SHAREDLIB=ON ../
make install
cmake -DENABLE_TESTS=ON ../
make install
Test suite runners are present inside ${CMAKE_BINARY_DIR}/bin
as easyhttp-IntegrationTestRunner
& easyhttp-UnitTestRunner
for running integration tests and unit tests respectively.
cmake -DENABLE_DOCS=ON ../
make doc
Doxygen api doc will be created inside ${CMAKE_INSTALL_PREFIX}/doc/api
.
Feel free to open new issue if you want to ask any questions.