X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/6e6de2ae8f5f661500c565aca8c36277e860b834..a5cb4cf37e5dfa9bb9ce5c5e4ccf8d5978d3576f:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 2ca56686..100f9c00 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,7 +98,7 @@ if ( BUILD_MOD_STORE_FIREBIRD OR BUILD_ALL_LIBS ) endif ( BUILD_MOD_STORE_FIREBIRD OR BUILD_ALL_LIBS ) if ( BUILD_MOD_PING OR BUILD_ALL_LIBS ) - set ( BUILD_LIB_PINGER ON ) + set ( BUILD_LIB_PINGER ON ) endif ( BUILD_MOD_PING OR BUILD_ALL_LIBS ) if ( BUILD_MOD_SMUX OR BUILD_ALL_LIBS ) @@ -134,7 +134,7 @@ elseif ( ${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD" ) elseif ( ${CMAKE_SYSTEM_NAME} STREQUAL "Darwin" ) add_definitions ( -DDARWIN ) if ( BUILD_LIB_IBPP ) - add_definitions ( -DIBPP_DARWIN ) + add_definitions ( -DIBPP_DARWIN ) endif ( BUILD_LIB_IBPP ) else () message ( WARNING "Unsupported system: '${CMAKE_SYSTEM_NAME}'" ) @@ -143,25 +143,8 @@ endif () include_directories ( include ) add_subdirectory ( libs ) - -if ( BUILD_RSCRIPTD ) - add_subdirectory ( rscriptd ) -endif ( BUILD_RSCRIPTD ) - -if ( BUILD_SGAUTH ) - add_subdirectory ( sgauth ) -endif ( BUILD_SGAUTH ) - -if ( BUILD_SGCONF ) - add_subdirectory ( sgconf ) -endif ( BUILD_SGCONF ) - -if ( BUILD_STG ) - add_subdirectory ( stargazer ) -endif ( BUILD_STG ) +add_subdirectory ( projects ) if ( BUILD_TESTS ) add_subdirectory ( tests ) endif ( BUILD_TESTS ) - -add_custom_target (cppcheck COMMAND cppcheck --enable=all --std=c++14 ${CMAKE_SOURCE_DIR}/rlm_stg ${CMAKE_SOURCE_DIR}/rscriptd ${CMAKE_SOURCE_DIR}/sgauth ${CMAKE_SOURCE_DIR}/sgconf ${CMAKE_SOURCE_DIR}/sgconv ${CMAKE_SOURCE_DIR}/stargazer)