kc3-lang/libressl

Branch :


Log

Author Commit Date CI Message
1dd2d050 2019-02-11 20:30:17 Add LibreSSL CMake Find Module CMake has the find_package function which tries to find the library install paths, and if found, gives the user some "interfaces" to use when including the library in their project. There was no LibreSSL module so i wrote one 👍. Placing this file in a new folder called CMake in the same folder as the root CMakeLists.txt file, and adding the following line to the top of it: set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake;${CMAKE_MODULE_PATH}") Lets the user run the find_package like so: find_package(LibreSSL REQUIRED) If LibreSSL is installed and found, the user can then just include the library in their target like so: target_link_libraries(test LibreSSL::TLS) They are cascaded, TLS requires and sets SSL, which also requires and sets Crypto using INTERFACE_LINK_LIBRARIES. Instead of setting the CMAKE_MODULE_PATH like above, the file can be placed in the CMake modules folder. For linux CMake will look for LibreSSL in the default install location of "sudo make install", which was on Ubuntu /usr/local/ For Windows the user can set the paths to their library files and include folder manually using the CMake-GUI.
53524626 2019-02-09 09:03:13 add __dead__ annotation support
5535242e 2019-02-09 07:41:00 update manpage links
4d6cfb10 2019-02-09 07:40:14 update tests
79a66f1b 2019-02-09 07:28:07 update patch
40c84831 2019-02-03 18:50:14 add unimpl fallback for getprogname
7f599767 2019-02-01 05:44:31 export getuid for libtls
cc0a0e12 2019-02-01 05:14:57 add syslog to compat headers
5269dbb2 2019-01-31 10:00:48 update cmake
a6d7ea95 2019-01-31 09:45:56 update autoconf for latest compat functions