2
0

README 703 B

123456789101112131415161718192021222324252627282930
  1. To build use cmake (Minimum version 3.6.2):
  2. cmake .
  3. make
  4. To install:
  5. make install
  6. To un-install:
  7. make uninstall
  8. To build debug (no optimizations, symbols - this is the default):
  9. cmake . -DCMAKE_BUILD_TYPE=Debug
  10. make
  11. To build release (optimizations, symbols):
  12. cmake . -DCMAKE_BUILD_TYPE=Release
  13. make
  14. To build to a custom installation prefix (default is /usr):
  15. cmake . -DCMAKE_INSTALL_PREFIX:PATH=/usr
  16. make
  17. To build with openssl on non-standard location (e.g. on Mac):
  18. OPENSSL_ROOT_DIR=/usr/local/opt/openssl cmake . -DCMAKE_INSTALL_PREFIX:PATH=/usr/local
  19. To run tests:
  20. ctest .
  21. To build release package with build number 42:
  22. PACKAGE_RELEASE="42" cmake . -DCMAKE_BUILD_TYPE=Release && make package