2 add_subdirectory ( rscriptd )
3 endif ( BUILD_RSCRIPTD )
6 add_subdirectory ( sgauth )
10 add_subdirectory ( sgconf )
11 endif ( BUILD_SGCONF )
14 add_subdirectory ( stargazer )
17 set ( LIB_DIRS ${CMAKE_SOURCE_DIR}/libs/common
18 ${CMAKE_SOURCE_DIR}/libs/conffiles
19 ${CMAKE_SOURCE_DIR}/libs/crypto
20 ${CMAKE_SOURCE_DIR}/libs/ia
21 ${CMAKE_SOURCE_DIR}/libs/logger
22 ${CMAKE_SOURCE_DIR}/libs/pinger
23 ${CMAKE_SOURCE_DIR}/libs/scriptexecuter
24 ${CMAKE_SOURCE_DIR}/libs/srvconf
28 set ( LIB_DIRS ${LIB_DIRS}
29 ${CMAKE_SOURCE_DIR}/libs/dotconfpp
30 ${CMAKE_SOURCE_DIR}/libs/ibpp
31 ${CMAKE_SOURCE_DIR}/libs/smux
35 add_custom_target (cppcheck COMMAND /usr/bin/cppcheck --enable=all --std=c++17 ${LIB_DIRS} ${CMAKE_SOURCE_DIR}/projects/rscriptd ${CMAKE_SOURCE_DIR}/projects/sgauth ${CMAKE_SOURCE_DIR}/projects/sgconf ${CMAKE_SOURCE_DIR}/projects/stargazer)