summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-17 19:43:35 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-17 19:43:35 (GMT)
commit6ab962b348634c7a789c652c532d521c980ef347 (patch)
tree96ee9bda283575f5f9e43db8d0bad0e13cd216c4
parent81c92386ac045b87c163b404ad5ac8980c738f88 (diff)
downloadCMake-6ab962b348634c7a789c652c532d521c980ef347.zip
CMake-6ab962b348634c7a789c652c532d521c980ef347.tar.gz
CMake-6ab962b348634c7a789c652c532d521c980ef347.tar.bz2
ENH: Pass configuration type to subprocesses
-rw-r--r--Source/CTest/cmCTestTestHandler.cxx1
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;