From: Maksym Mamontov Date: Sun, 17 Jan 2021 17:52:00 +0000 (+0200) Subject: Add missing CMakeLists.txt X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/51998949e60e2a7e86e4393b315cfb76a58ca80d Add missing CMakeLists.txt --- diff --git a/projects/CMakeLists.txt b/projects/CMakeLists.txt new file mode 100644 index 00000000..fda001c6 --- /dev/null +++ b/projects/CMakeLists.txt @@ -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)