diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-10-13 21:10:48 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-10-13 21:10:48 (GMT) |
commit | 3206db15b37c29a4f9d7edd5695db52a885ef3f4 (patch) | |
tree | e753fd2673e2d05e518ac7ed9036ab00b94f84e9 /Tests/CTestTest2 | |
parent | 655ba54e2d74f50441829001995a4e1ce1a1ae88 (diff) | |
download | CMake-3206db15b37c29a4f9d7edd5695db52a885ef3f4.zip CMake-3206db15b37c29a4f9d7edd5695db52a885ef3f4.tar.gz CMake-3206db15b37c29a4f9d7edd5695db52a885ef3f4.tar.bz2 |
ENH: Properly propagate config type to test
Diffstat (limited to 'Tests/CTestTest2')
-rw-r--r-- | Tests/CTestTest2/test.cmake.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CTestTest2/test.cmake.in b/Tests/CTestTest2/test.cmake.in index 02217a8..c9e2636 100644 --- a/Tests/CTestTest2/test.cmake.in +++ b/Tests/CTestTest2/test.cmake.in @@ -9,7 +9,7 @@ SET(CTEST_SOURCE_DIRECTORY "@CMake_SOURCE_DIR@/Source/kwsys") SET(CTEST_BINARY_DIRECTORY "@CMake_BINARY_DIR@/Tests/CTestTest2/kwsysBin") SET(CTEST_CVS_COMMAND "@CVSCOMMAND@") SET(CTEST_CMAKE_GENERATOR "@CMAKE_GENERATOR@") -SET(CTEST_BUILD_CONFIGURATION "Release") +SET(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CONFIG_TYPE}") SET(CTEST_MEMORYCHECK_COMMAND "@MEMORYCHECK_COMMAND@") SET(CTEST_MEMORYCHECK_SUPPRESSIONS_FILE "@MEMORYCHECK_SUPPRESSIONS_FILE@") SET(CTEST_MEMORYCHECK_COMMAND_OPTIONS "@MEMORYCHECK_COMMAND_OPTIONS@") |