]> git.stg.codes - stg.git/blobdiff - projects/rscriptd/CMakeLists.txt
Enable binaries and mods in test builds.
[stg.git] / projects / rscriptd / CMakeLists.txt
index 9228b37097ffd5fbeeab47575744f90e48257db0..b225a2a34511a9fe9995f27e21f0585f0933f990 100644 (file)
@@ -7,4 +7,11 @@ add_executable ( rscriptd ${CPP_FILES} )
 
 target_link_libraries ( rscriptd scriptexecuter conffiles logger crypto common Threads::Threads )
 
 
 target_link_libraries ( rscriptd scriptexecuter conffiles logger crypto common Threads::Threads )
 
+if ( CLANG_TIDY_EXE )
+    set_target_properties ( rscriptd PROPERTIES CXX_CLANG_TIDY "${DO_CLANG_TIDY}" )
+endif ()
+if ( INCLUDE_WHAT_YOU_USE_EXE )
+    set_target_properties ( rscriptd PROPERTIES CXX_INCLUDE_WHAT_YOU_USE "${DO_INCLUDE_WHAT_YOU_USE}" )
+endif ()
+
 # TODO: install
 # TODO: install