summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-02 23:23:04 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-02-02 23:23:04 (GMT)
commit5e4e4b74ab5fc4db4c75dd0558b3b68fdbfd6c00 (patch)
treea7791e18ad8213b52e718436f8e17eea4e740516
parent228dc330f67b18a3fb995b4beb4e76f1cb972b08 (diff)
downloadCMake-5e4e4b74ab5fc4db4c75dd0558b3b68fdbfd6c00.zip
CMake-5e4e4b74ab5fc4db4c75dd0558b3b68fdbfd6c00.tar.gz
CMake-5e4e4b74ab5fc4db4c75dd0558b3b68fdbfd6c00.tar.bz2
ENH: Propagate build type
-rw-r--r--Source/cmCTest.cxx5
1 files changed, 5 insertions, 0 deletions
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)
{