ENH: fix dumb MS warning about BOOL and performance with more code

This commit is contained in:
Bill Hoffman 2008-03-11 23:01:41 -04:00
parent f15026cff6
commit e365c33766
1 changed files with 8 additions and 1 deletions

View File

@ -675,7 +675,14 @@ void CMakeSetupDialog::RunCMake(bool generateProjectFiles)
m_CMakeInstance->CreateGlobalGenerator(m_GeneratorDialog.m_GeneratorChoiceString)); m_CMakeInstance->CreateGlobalGenerator(m_GeneratorDialog.m_GeneratorChoiceString));
m_CMakeInstance->SetCMakeCommand(m_PathToExecutable); m_CMakeInstance->SetCMakeCommand(m_PathToExecutable);
m_CMakeInstance->LoadCache(); m_CMakeInstance->LoadCache();
m_CMakeInstance->SetSuppressDevWarnings(m_SuppressDevValue); if(m_SuppressDevValue)
{
m_CMakeInstance->SetSuppressDevWarnings(true);
}
else
{
m_CMakeInstance->SetSuppressDevWarnings(false);
}
if(m_CMakeInstance->Configure() != 0) if(m_CMakeInstance->Configure() != 0)
{ {
cmSystemTools::Error( cmSystemTools::Error(