VS: Add method to clear flag tables of option parser

This commit is contained in:
Brad King
2017-02-15 09:40:07 -05:00
parent 895b890466
commit a05fc93ee6
2 changed files with 10 additions and 0 deletions

View File

@@ -81,6 +81,13 @@ void cmVisualStudioGeneratorOptions::AddTable(cmVS7FlagTable const* table)
}
}
void cmVisualStudioGeneratorOptions::ClearTables()
{
for (int i = 0; i < FlagTableCount; ++i) {
this->FlagTable[i] = CM_NULLPTR;
}
}
void cmVisualStudioGeneratorOptions::FixExceptionHandlingDefault()
{
// Exception handling is on by default because the platform file has