diff options
author | Brad King <brad.king@kitware.com> | 2017-03-07 20:10:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-03-10 15:19:54 (GMT) |
commit | f7bb40c92dceedd65965c4c475b5395239e630ea (patch) | |
tree | c16f8ef2716172ebb0dd5b8fca230aac486aa214 /Source/cmVisualStudioGeneratorOptions.h | |
parent | a05fc93ee6ce563bbc6bb23e4540cd7bc2f4e52a (diff) | |
download | CMake-f7bb40c92dceedd65965c4c475b5395239e630ea.zip CMake-f7bb40c92dceedd65965c4c475b5395239e630ea.tar.gz CMake-f7bb40c92dceedd65965c4c475b5395239e630ea.tar.bz2 |
VS: Add method to re-parse specific option parser fields
This will allow a client to parse flags, replace the flag tables, and
then re-parse a field in which flags for a secondary tool were
collected.
Diffstat (limited to 'Source/cmVisualStudioGeneratorOptions.h')
-rw-r--r-- | Source/cmVisualStudioGeneratorOptions.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmVisualStudioGeneratorOptions.h b/Source/cmVisualStudioGeneratorOptions.h index f6cc7ec..700b877 100644 --- a/Source/cmVisualStudioGeneratorOptions.h +++ b/Source/cmVisualStudioGeneratorOptions.h @@ -52,6 +52,10 @@ public: void PrependInheritedString(std::string const& key); + // Parse the content of the given flag table entry again to extract + // known flags and leave the rest in the original entry. + void Reparse(std::string const& key); + // Fix the ExceptionHandling option to default to off. void FixExceptionHandlingDefault(); @@ -84,6 +88,8 @@ private: bool FortranRuntimeDLL; bool FortranRuntimeMT; + std::string UnknownFlagField; + virtual void StoreUnknownFlag(const char* flag); }; |