]> git.stg.codes - stg.git/blobdiff - projects/sgauth/CMakeLists.txt
Build and test in both Debug and Release mode.
[stg.git] / projects / sgauth / CMakeLists.txt
index 2a87f3f6d780ec916ce36563f701b714279e2f6b..ad82b1bf7b577fe090f79048b18b47df3451abd0 100644 (file)
@@ -15,4 +15,11 @@ add_executable ( sgauth ${CPP_FILES} )
 
 target_link_libraries ( sgauth conffiles ia crypto common ${Intl_LIBRARIES} Threads::Threads )
 
+if ( CLANG_TIDY_EXE )
+    set_target_properties ( sgauth PROPERTIES CXX_CLANG_TIDY "${DO_CLANG_TIDY}" )
+endif ()
+if ( INCLUDE_WHAT_YOU_USE_EXE )
+    set_target_properties ( sgauth PROPERTIES CXX_INCLUDE_WHAT_YOU_USE "${DO_INCLUDE_WHAT_YOU_USE}" )
+endif ()
+
 # TODO: install