summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudioGeneratorOptions.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-03-07 20:16:17 (GMT)
committerBrad King <brad.king@kitware.com>2017-03-10 15:19:55 (GMT)
commit80e982d7ad571ce308708d36a531df7a91ffe0f8 (patch)
treee9ce1dd06489f42292c8cc93e2bace8a01d8f7c7 /Source/cmVisualStudioGeneratorOptions.h
parentf7bb40c92dceedd65965c4c475b5395239e630ea (diff)
downloadCMake-80e982d7ad571ce308708d36a531df7a91ffe0f8.zip
CMake-80e982d7ad571ce308708d36a531df7a91ffe0f8.tar.gz
CMake-80e982d7ad571ce308708d36a531df7a91ffe0f8.tar.bz2
VS: Add method to take a value out of the option parser flag map
Remove a flag from the map and return its value.
Diffstat (limited to 'Source/cmVisualStudioGeneratorOptions.h')
-rw-r--r--Source/cmVisualStudioGeneratorOptions.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmVisualStudioGeneratorOptions.h b/Source/cmVisualStudioGeneratorOptions.h
index 700b877..e79c977 100644
--- a/Source/cmVisualStudioGeneratorOptions.h
+++ b/Source/cmVisualStudioGeneratorOptions.h
@@ -91,6 +91,8 @@ private:
std::string UnknownFlagField;
virtual void StoreUnknownFlag(const char* flag);
+
+ FlagValue TakeFlag(std::string const& key);
};
#endif