diff options
author | Brad King <brad.king@kitware.com> | 2014-06-06 13:44:51 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-06-06 13:44:51 (GMT) |
commit | 6e68df8fa624c14b3aacf83ed5014ff138228c4d (patch) | |
tree | 51e78f3582717414936642064f313901da7a471f | |
parent | 2292b82b1d175a8cb7b48135f0dd619597a2eaa8 (diff) | |
parent | 7db77a828a3c79c5dce476b78e759478756ca091 (diff) | |
download | CMake-6e68df8fa624c14b3aacf83ed5014ff138228c4d.zip CMake-6e68df8fa624c14b3aacf83ed5014ff138228c4d.tar.gz CMake-6e68df8fa624c14b3aacf83ed5014ff138228c4d.tar.bz2 |
Merge topic 'dev/fix-complex-tests'
7db77a82 tests: allow RelWithDebInfo and MinSizeRel configs to work
-rw-r--r-- | Tests/Complex/CMakeLists.txt | 8 | ||||
-rw-r--r-- | Tests/ComplexOneConfig/CMakeLists.txt | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/Tests/Complex/CMakeLists.txt b/Tests/Complex/CMakeLists.txt index 5fa46bf..222250c 100644 --- a/Tests/Complex/CMakeLists.txt +++ b/Tests/Complex/CMakeLists.txt @@ -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) diff --git a/Tests/ComplexOneConfig/CMakeLists.txt b/Tests/ComplexOneConfig/CMakeLists.txt index d3d9132..3f17dcc 100644 --- a/Tests/ComplexOneConfig/CMakeLists.txt +++ b/Tests/ComplexOneConfig/CMakeLists.txt @@ -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) |