4e94dfc7e0
The library can now be installed using CMake v3.0+. Below is an example configuration. 1. Generate configuation cmake -H. -Bbuild -GNinja -DCMAKE_BUILD_TYPE=Release // The default profile. -DCMAKE_INSTALL_PREFIX=/usr/local/ -DBUILD_SHARED_LIBS=ON -DOLM_TESTS=1 -DOLM_FUZZERS=1 2. Build & install the targets cmake --build build --config Release --target install 3. Run the tests cd build/test && ctest . The library can also be used as a dependency with CMake using find_package(Olm::Olm REQUIRED) target_link_libraries(my_exe Olm::Olm) Signed-off-by: Konstantinos Sideris <sideris.konstantin@gmail.com> |
||
---|---|---|
.. | ||
include | ||
CMakeLists.txt | ||
test_base64.cpp | ||
test_crypto.cpp | ||
test_group_session.cpp | ||
test_list.cpp | ||
test_megolm.cpp | ||
test_message.cpp | ||
test_olm.cpp | ||
test_olm_decrypt.cpp | ||
test_olm_sha256.cpp | ||
test_olm_signature.cpp | ||
test_olm_using_malloc.cpp | ||
test_pk.cpp | ||
test_ratchet.cpp | ||
test_session.cpp |