summaryrefslogtreecommitdiffstats
path: root/Source/cmIDEOptions.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-08-13 18:07:07 (GMT)
committerBrad King <brad.king@kitware.com>2014-08-13 18:08:39 (GMT)
commit9633d112794e1bb6b08ab6de0c20baca3a8c5847 (patch)
tree7388cd8aad982c1416cf7657f72fc36f09c0ab55 /Source/cmIDEOptions.h
parent841001028a579bea093482fc3c1beb5d45f2b2d6 (diff)
downloadCMake-9633d112794e1bb6b08ab6de0c20baca3a8c5847.zip
CMake-9633d112794e1bb6b08ab6de0c20baca3a8c5847.tar.gz
CMake-9633d112794e1bb6b08ab6de0c20baca3a8c5847.tar.bz2
cmIDEOptions: Add HasFlag method to test if a flag is set
Diffstat (limited to 'Source/cmIDEOptions.h')
-rw-r--r--Source/cmIDEOptions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmIDEOptions.h b/Source/cmIDEOptions.h
index 2bedbad..7386016 100644
--- a/Source/cmIDEOptions.h
+++ b/Source/cmIDEOptions.h
@@ -34,6 +34,7 @@ public:
void AppendFlag(std::string const& flag,
std::vector<std::string> const& value);
void RemoveFlag(const char* flag);
+ bool HasFlag(std::string const& flag) const;
const char* GetFlag(const char* flag);
protected: