mirror of
https://github.com/reactos/CMake.git
synced 2025-01-08 12:10:29 +00:00
VS: Add method to clear flag tables of option parser
This commit is contained in:
parent
895b890466
commit
a05fc93ee6
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user