CrucibleAddExecutable.cmake
1
2
3
4
5
6
7
8
9
10
include_guard(GLOBAL) include(CrucibleEnableCompilerWarnings) include(CrucibleEnableRuntimeSanitizers) function(crucible_add_executable TARGET_NAME) add_executable(${ARGV}) crucible_enable_compiler_warnings("${TARGET_NAME}") crucible_enable_runtime_sanitizers("${TARGET_NAME}") endfunction()