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