ENH: Pass configuration type to subprocesses

This commit is contained in:
Andy Cedilnik 2005-06-17 15:43:35 -04:00
parent 81c92386ac
commit 6ab962b348

View File

@ -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;