]> git.stg.codes - stg.git/blobdiff - projects/stargazer/CMakeLists.txt
Convert some tests from TUT to Boost.Test
[stg.git] / projects / stargazer / CMakeLists.txt
index 073c71652f4cf4bc73e3159e1d3938a0eb75eb7f..005e72df724cadf5094ab039de42a55c5375e7fa 100644 (file)
@@ -23,6 +23,13 @@ add_executable ( stargazer ${CPP_FILES} )
 
 target_link_libraries ( stargazer scriptexecuter dotconfpp logger common Threads::Threads ${CMAKE_DL_LIBS} )
 
+if ( CLANG_TIDY_EXE )
+    set_target_properties ( stargazer PROPERTIES CXX_CLANG_TIDY "${DO_CLANG_TIDY}" )
+endif ()
+if ( INCLUDE_WHAT_YOU_USE_EXE )
+    set_target_properties ( stargazer PROPERTIES CXX_INCLUDE_WHAT_YOU_USE "${DO_INCLUDE_WHAT_YOU_USE}" )
+endif ()
+
 add_subdirectory ( plugins )
 
 # TODO: install