]> git.stg.codes - stg.git/blob - projects/CMakeLists.txt
3fec99f1ca474b1dae0378e75b4227f7204d32bb
[stg.git] / projects / CMakeLists.txt
1 if ( BUILD_RSCRIPTD )
2     add_subdirectory ( rscriptd )
3 endif ( BUILD_RSCRIPTD )
4
5 if ( BUILD_SGAUTH )
6     add_subdirectory ( sgauth )
7 endif ( BUILD_SGAUTH )
8
9 if ( BUILD_SGCONF )
10     add_subdirectory ( sgconf )
11 endif ( BUILD_SGCONF )
12
13 if ( BUILD_STG )
14     add_subdirectory ( stargazer )
15 endif ( BUILD_STG )
16
17 add_custom_target (cppcheck COMMAND /usr/bin/cppcheck --enable=all --std=c++14 ${CMAKE_SOURCE_DIR}/libs ${CMAKE_SOURCE_DIR}/projects/rscriptd ${CMAKE_SOURCE_DIR}/projects/sgauth ${CMAKE_SOURCE_DIR}/projects/sgconf ${CMAKE_SOURCE_DIR}/projects/stargazer)