ENH: Propagate build type

This commit is contained in:
Andy Cedilnik 2004-02-02 18:23:04 -05:00
parent 228dc330f6
commit 5e4e4b74ab
1 changed files with 5 additions and 0 deletions

View File

@ -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)
{