1. 12 Oct, 2018 1 commit
    • Konstantinos Sideris's avatar
      Add CMake support · 4e94dfc7
      Konstantinos Sideris authored and Hubert Chathi's avatar Hubert Chathi committed
      The library can now be installed using CMake v3.0+.
      Below is an example configuration.
      1. Generate configuation
      cmake -H. -Bbuild
          -DCMAKE_BUILD_TYPE=Release // The default profile.
      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: default avatarKonstantinos Sideris <sideris.konstantin@gmail.com>