From 6ab962b348634c7a789c652c532d521c980ef347 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Fri, 17 Jun 2005 15:43:35 -0400 Subject: ENH: Pass configuration type to subprocesses --- Source/CTest/cmCTestTestHandler.cxx | 1 + 1 file changed, 1 insertion(+) 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 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; -- cgit v0.12