X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/46b0747592074017ff0ea4b33d4a7194235886e5..1e8eb98d30459399902534082c88b94bb26bb2e3:/CMakeLists.txt?ds=inline diff --git a/CMakeLists.txt b/CMakeLists.txt index 0872ec22..668b0ba3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,6 @@ -cmake_minimum_required (VERSION 3.1) +cmake_minimum_required (VERSION 3.12) + +project ( Stargazer ) set ( CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules ) @@ -32,6 +34,7 @@ option ( BUILD_MOD_CAP_PCAP "Build PCap capture STG module." OFF ) option ( BUILD_MOD_CAP_NFQUEUE "Build NFQueue capture STG module." OFF ) option ( BUILD_MOD_RADIUS "Build rlm_stg backend STG module." OFF ) +# Grouping option ( BUILD_ALL_MODS "Build all modules." OFF ) option ( BUILD_ALL_LIBS "Build all libraries." OFF ) option ( BUILD_TESTS "Build tests." OFF ) @@ -80,17 +83,6 @@ if ( BUILD_STG OR BUILD_ALL_LIBS ) set ( BUILD_LIB_DOTCONFPP ON ) set ( BUILD_LIB_LOGGER ON ) set ( BUILD_LIB_SCRIPTEXECUTER ON ) - - # if ( BUILD_STG ) - # set ( BUILD_MOD_AO ON ) - # set ( BUILD_MOD_IA ON ) - # set ( BUILD_MOD_SGCONFIG ON ) - # set ( BUILD_MOD_PING ON ) - # set ( BUILD_MOD_RSCRYPT ON ) - # set ( BUILD_MOD_SMUX ON ) - # set ( BUILD_MOD_STORE_FILES ON ) - # set ( BUILD_MOD_CAP_NF ON ) - #endif ( BUILD_STG ) endif ( BUILD_STG OR BUILD_ALL_LIBS ) if ( BUILD_ALL_MODS ) @@ -149,9 +141,6 @@ endif () include_directories ( include ) -#find_package ( OpenSSL 1.0.0 REQUIRED ) -#find_package ( Boost 1.66.0 REQUIRED COMPONENTS system unit_test_framework ) - add_subdirectory ( libs ) if ( BUILD_RLM_STG )