]> git.stg.codes - stg.git/blobdiff - projects/CMakeLists.txt
Add missing CMakeLists.txt
[stg.git] / projects / CMakeLists.txt
diff --git a/projects/CMakeLists.txt b/projects/CMakeLists.txt
new file mode 100644 (file)
index 0000000..fda001c
--- /dev/null
@@ -0,0 +1,17 @@
+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_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)