Skip to content
Snippets Groups Projects
Commit a05fc93e authored by Brad King's avatar Brad King
Browse files

VS: Add method to clear flag tables of option parser

parent 895b8904
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -43,6 +43,9 @@ public:
// Add a table of flags.
void AddTable(cmVS7FlagTable const* table);
// Clear the flag tables.
void ClearTables();
// Store options from command line flags.
void Parse(const char* flags);
void ParseFinish();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment