From 5461dea7f141d78d1d0bb4c4f17be9b15680fa96 Mon Sep 17 00:00:00 2001 From: Jeff Davey Date: Tue, 18 Aug 2015 13:20:19 -0600 Subject: Add install targets and shared libraries to CMake --- CMakeLists.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 2734bad..5560f21 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,6 +6,21 @@ project (LibreSSL) enable_testing() +set(SSL_MAJOR_VERSION "35") +set(SSL_MINOR_VERSION "0") +set(SSL_REVISION "0") +set(SSL_VERSION "${SSL_MAJOR_VERSION}.${SSL_MINOR_VERSION}.${SSL_REVISION}") + +set(CRYPTO_MAJOR_VERSION "35") +set(CRYPTO_MINOR_VERSION "0") +set(CRYPTO_REVISION "0") +set(CRYPTO_VERSION "${CRYPTO_MAJOR_VERSION}.${CRYPTO_MINOR_VERSION}.${CRYPTO_REVISION}") + +set(TLS_MAJOR_VERSION "6") +set(TLS_MINOR_VERSION "0") +set(TLS_REVISION "0") +set(TLS_VERSION "${TLS_MAJOR_VERSION}.${TLS_MINOR_VERSION}.${TLS_REVISION}") + if(CMAKE_SYSTEM_NAME MATCHES "OpenBSD") add_definitions(-DHAVE_ATTRIBUTE__BOUNDED__) endif() @@ -147,6 +162,8 @@ add_subdirectory(crypto) add_subdirectory(ssl) add_subdirectory(apps) add_subdirectory(tls) +add_subdirectory(include) if(NOT MSVC) + add_subdirectory(man) add_subdirectory(tests) endif() -- cgit v1.2.3-55-g6feb