|
@@ -30,17 +30,17 @@ add_executable( |
|
|
src/types/int.h |
|
|
src/types/int.h |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
set_target_properties (test-int PROPERTIES RUNTIME_OUTPUT_DIRECTORY tests) |
|
|
|
|
|
|
|
|
set_target_properties (test_int PROPERTIES RUNTIME_OUTPUT_DIRECTORY tests) |
|
|
|
|
|
|
|
|
add_test( |
|
|
add_test( |
|
|
NAME test-int |
|
|
|
|
|
COMMAND test-int |
|
|
|
|
|
|
|
|
NAME test_int |
|
|
|
|
|
COMMAND test_int |
|
|
WORKING_DIRECTORY tests |
|
|
WORKING_DIRECTORY tests |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
add_custom_command( |
|
|
add_custom_command( |
|
|
TARGET test-int POST_BUILD |
|
|
|
|
|
|
|
|
TARGET test_int POST_BUILD |
|
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different |
|
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different |
|
|
"${CMAKE_HOME_DIRECTORY}/fixtures/test-int.ini" |
|
|
"${CMAKE_HOME_DIRECTORY}/fixtures/test-int.ini" |
|
|
$<TARGET_FILE_DIR:test-int> |
|
|
|
|
|
|
|
|
$<TARGET_FILE_DIR:test_int> |
|
|
) |
|
|
) |