X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/8e80bb9cec2c90dd61f810fb1525932a434288eb..be1b46cc784e43cd28c5521bdcde79bd7463fb40:/projects/sgconf/CMakeLists.txt?ds=sidebyside diff --git a/projects/sgconf/CMakeLists.txt b/projects/sgconf/CMakeLists.txt index c2666b80..bdd95d07 100644 --- a/projects/sgconf/CMakeLists.txt +++ b/projects/sgconf/CMakeLists.txt @@ -9,4 +9,11 @@ add_executable ( sgconf ${CPP_FILES} ) target_link_libraries ( sgconf srvconf crypto common EXPAT::EXPAT ) +if ( CLANG_TIDY_EXE ) + set_target_properties ( sgconf PROPERTIES CXX_CLANG_TIDY "${DO_CLANG_TIDY}" ) +endif () +if ( INCLUDE_WHAT_YOU_USE_EXE ) + set_target_properties ( sgconf PROPERTIES CXX_INCLUDE_WHAT_YOU_USE "${DO_INCLUDE_WHAT_YOU_USE}" ) +endif () + # TODO: install