Commit 6ab962b3 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

ENH: Pass configuration type to subprocesses

parent 81c92386
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment