]> git.stg.codes - stg.git/blobdiff - projects/stargazer/CMakeLists.txt
Remove extra debug.
[stg.git] / projects / stargazer / CMakeLists.txt
index 1670de26cbb1c82c3ff93ec419d1d1e4075286d0..005e72df724cadf5094ab039de42a55c5375e7fa 100644 (file)
@@ -12,7 +12,6 @@ set ( CPP_FILES main.cpp
                 plugin_mgr.cpp
                 settings_impl.cpp
                 stg_timer.cpp
-                timer_impl.cpp
                 store_loader.cpp
                 traffcounter_impl.cpp
                 user_property.cpp )
@@ -24,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