X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/0907aa4037b12b6b88ee24495d4577a064d4f8db..8c7a6befad791ac242f15233365893b18953a627:/projects/stargazer/CMakeLists.txt?ds=sidebyside diff --git a/projects/stargazer/CMakeLists.txt b/projects/stargazer/CMakeLists.txt index 073c7165..005e72df 100644 --- a/projects/stargazer/CMakeLists.txt +++ b/projects/stargazer/CMakeLists.txt @@ -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