]> git.stg.codes - stg.git/blobdiff - projects/sgconf/CMakeLists.txt
Add instrumentation.
[stg.git] / projects / sgconf / CMakeLists.txt
index c2666b809e143c3320d3b76f3985709770df189d..bdd95d07d215362d5853553f15e746ab5da95006 100644 (file)
@@ -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