diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-06-17 19:43:35 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-06-17 19:43:35 (GMT) |
commit | 6ab962b348634c7a789c652c532d521c980ef347 (patch) | |
tree | 96ee9bda283575f5f9e43db8d0bad0e13cd216c4 | |
parent | 81c92386ac045b87c163b404ad5ac8980c738f88 (diff) | |
download | CMake-6ab962b348634c7a789c652c532d521c980ef347.zip CMake-6ab962b348634c7a789c652c532d521c980ef347.tar.gz CMake-6ab962b348634c7a789c652c532d521c980ef347.tar.bz2 |
ENH: Pass configuration type to subprocesses
-rw-r--r-- | Source/CTest/cmCTestTestHandler.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx index 7bd0345..2ea5e66 100644 --- a/Source/CTest/cmCTestTestHandler.cxx +++ b/Source/CTest/cmCTestTestHandler.cxx @@ -973,6 +973,7 @@ void cmCTestTestHandler::GetListOfTests() std::auto_ptr<cmLocalGenerator> lg(gg.CreateLocalGenerator()); lg->SetGlobalGenerator(&gg); cmMakefile *mf = lg->GetMakefile(); + mf->AddDefinition("CTEST_CONFIGURATION_TYPE", m_CTest->GetConfigType().c_str()); // Add handler for ADD_TEST cmCTestAddTestCommand* newCom1 = new cmCTestAddTestCommand; |