]> git.stg.codes - stg.git/blob - projects/CMakeLists.txt
fda001c66c36255b0316991513a00f97f4a80f37
[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 cppcheck --enable=all --std=c++14 ${CMAKE_SOURCE_DIR}/rscriptd ${CMAKE_SOURCE_DIR}/sgauth ${CMAKE_SOURCE_DIR}/sgconf ${CMAKE_SOURCE_DIR}/stargazer)