tests: allow RelWithDebInfo and MinSizeRel configs to work

This commit is contained in:
Ben Boeckel 2014-06-05 12:42:13 -04:00
parent 88818b6805
commit 7db77a828a
2 changed files with 16 additions and 0 deletions

View File

@ -83,6 +83,14 @@ set_property(DIRECTORY
PROPERTY COMPILE_DEFINITIONS_RELEASE PROPERTY COMPILE_DEFINITIONS_RELEASE
CMAKE_IS_FUN_IN_RELEASE_MODE 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") set(TEST_SEP "a b c")
separate_arguments(TEST_SEP) separate_arguments(TEST_SEP)

View File

@ -83,6 +83,14 @@ set_property(DIRECTORY
PROPERTY COMPILE_DEFINITIONS_RELEASE PROPERTY COMPILE_DEFINITIONS_RELEASE
CMAKE_IS_FUN_IN_RELEASE_MODE 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") set(TEST_SEP "a b c")
separate_arguments(TEST_SEP) separate_arguments(TEST_SEP)