tests: allow RelWithDebInfo and MinSizeRel configs to work
This commit is contained in:
parent
88818b6805
commit
7db77a828a
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue