From 5e4e4b74ab5fc4db4c75dd0558b3b68fdbfd6c00 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Mon, 2 Feb 2004 18:23:04 -0500 Subject: ENH: Propagate build type --- Source/cmCTest.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index 0603237..eb14f64 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -4069,6 +4069,11 @@ int cmCTest::RunCMakeAndTest(std::string* outstring) generator += m_BuildGenerator; args.push_back(generator); } + if ( m_ConfigType.size() > 0 ) + { + std::string btype = "-DBUILD_TYPE:STRING=" + m_ConfigType; + args.push_back(btype); + } for(k=0; k < m_BuildOptions.size(); ++k) { -- cgit v0.12