diff options
Diffstat (limited to 'Tests/Complex')
-rw-r--r-- | Tests/Complex/CMakeLists.txt | 9 | ||||
-rw-r--r-- | Tests/Complex/Executable/CMakeLists.txt | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/Tests/Complex/CMakeLists.txt b/Tests/Complex/CMakeLists.txt index e6444abd27..aa376e5586 100644 --- a/Tests/Complex/CMakeLists.txt +++ b/Tests/Complex/CMakeLists.txt @@ -49,6 +49,15 @@ LOAD_CACHE(${Complex_SOURCE_DIR}/Cache INCLUDE_INTERNALS CACHE_TEST_VAR_INTERNAL) +LOAD_CACHE(${Complex_BINARY_DIR} READ_WITH_PREFIX foo CACHE_TEST_VAR_INTERNAL) +IF(${fooCACHE_TEST_VAR_INTERNAL} MATCHES bar) + MESSAGE("Load cache worked") +ELSE(${fooCACHE_TEST_VAR_INTERNAL} MATCHES bar) + MESSAGE(FATAL_ERROR "Load cache with prefix failed") +ENDIF(${fooCACHE_TEST_VAR_INTERNAL} MATCHES bar) + + + # # Specify include and lib dirs # (BEFORE is for coverage) diff --git a/Tests/Complex/Executable/CMakeLists.txt b/Tests/Complex/Executable/CMakeLists.txt index fca3901d49..5e88795989 100644 --- a/Tests/Complex/Executable/CMakeLists.txt +++ b/Tests/Complex/Executable/CMakeLists.txt @@ -58,3 +58,6 @@ CONFIGURE_FILE( ${Complex_BINARY_DIR}/cmVersion.h) SOURCE_GROUP(A_GROUP ".cxx") +SOURCE_GROUP(B_GROUP REGULAR_EXPRESSION "cxx") +SOURCE_GROUP(C_GROUP FILES complex.cxx) + |