CrucibleAddTest.cmake
1
2
3
4
5
6
7
8
9
include_guard(GLOBAL) include(CrucibleAddExecutable) function(crucible_add_test TARGET_NAME) crucible_add_executable(${ARGV}) add_test(NAME "${TARGET_NAME}" COMMAND "${TARGET_NAME}") endfunction()
include_guard(GLOBAL) include(CrucibleAddExecutable) function(crucible_add_test TARGET_NAME) crucible_add_executable(${ARGV}) add_test(NAME "${TARGET_NAME}" COMMAND "${TARGET_NAME}") endfunction()