Skip to content
Snippets Groups Projects
Commit 73baa064 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Update build docs

parent c1acfac1
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,18 @@ Client API library for the Matrix protocol, built on top of Boost.Asio.
- Google Test (for testing)
- libsodium 1.0.14 or greater
Boost and GTest will be built automatically by CMake if they're not found on your system.
If you are missing some or all of those above dependencies, you can add `-DHUNTER_ENABLED=ON` to the cmake configure command to use bundled dependencies. You can finetune them with the following variables. They default to ON, if Hunter is enabled and to OFF otherwise.
| cmake flag | description |
|---------------------|-------------|
| USE_BUNDLED_BOOST | Use the bundled version of Boost. |
| USE_BUNDLED_SPDLOG | Use the bundled version of spdlog. |
| USE_BUNDLED_OLM | Use the bundled version of libolm. |
| USE_BUNDLED_GTEST | Use the bundled version of Google Test. |
| USE_BUNDLED_JSON | Use the bundled version of nlohmann json. |
| USE_BUNDLED_OPENSSL | Use the bundled version of OpenSSL. |
| USE_BUNDLED_SODIUM | Use the bundled version of libsodium. |
| USE_BUNDLED_ZLIB | Use the bundled version of zlib. |
Below is an example which will build the library along with the tests & examples.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment