X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/a5cb4cf37e5dfa9bb9ce5c5e4ccf8d5978d3576f..80aca6d78d4ff5d514216fe96c44e2ee75c4e933:/projects/stargazer/CMakeLists.txt?ds=sidebyside diff --git a/projects/stargazer/CMakeLists.txt b/projects/stargazer/CMakeLists.txt index 1670de26..005e72df 100644 --- a/projects/stargazer/CMakeLists.txt +++ b/projects/stargazer/CMakeLists.txt @@ -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