X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/0907aa4037b12b6b88ee24495d4577a064d4f8db..7ef8de40e0bcdd931f5a400fd586fee3a1aaaeea:/projects/rscriptd/CMakeLists.txt?ds=sidebyside diff --git a/projects/rscriptd/CMakeLists.txt b/projects/rscriptd/CMakeLists.txt index 9228b370..b225a2a3 100644 --- a/projects/rscriptd/CMakeLists.txt +++ b/projects/rscriptd/CMakeLists.txt @@ -7,4 +7,11 @@ add_executable ( rscriptd ${CPP_FILES} ) 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