Merge topic 'dev/fix-complex-tests'

7db77a82 tests: allow RelWithDebInfo and MinSizeRel configs to work
This commit is contained in:
Brad King 2014-06-06 09:44:51 -04:00 committed by CMake Topic Stage
commit 6e68df8fa6
2 changed files with 16 additions and 0 deletions

View File

@ -83,6 +83,14 @@ set_property(DIRECTORY
PROPERTY COMPILE_DEFINITIONS_RELEASE
CMAKE_IS_FUN_IN_RELEASE_MODE
)
set_property(DIRECTORY
PROPERTY COMPILE_DEFINITIONS_RELWITHDEBINFO
CMAKE_IS_FUN_IN_RELEASE_MODE
)
set_property(DIRECTORY
PROPERTY COMPILE_DEFINITIONS_MINSIZEREL
CMAKE_IS_FUN_IN_RELEASE_MODE
)
set(TEST_SEP "a b c")
separate_arguments(TEST_SEP)

View File

@ -83,6 +83,14 @@ set_property(DIRECTORY
PROPERTY COMPILE_DEFINITIONS_RELEASE
CMAKE_IS_FUN_IN_RELEASE_MODE
)
set_property(DIRECTORY
PROPERTY COMPILE_DEFINITIONS_RELWITHDEBINFO
CMAKE_IS_FUN_IN_RELEASE_MODE
)
set_property(DIRECTORY
PROPERTY COMPILE_DEFINITIONS_MINSIZEREL
CMAKE_IS_FUN_IN_RELEASE_MODE
)
set(TEST_SEP "a b c")
separate_arguments(TEST_SEP)