summaryrefslogtreecommitdiffstats
path: root/Source/cmIDEOptions.cxx
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2011-02-09 17:59:09 (GMT)
committerDavid Cole <david.cole@kitware.com>2011-02-09 18:01:19 (GMT)
commit98b448ee9e1fc12181667c5f7431163097466daf (patch)
tree0e89c085f790edb07e22b8ddc593d064716d44fd /Source/cmIDEOptions.cxx
parent7258b0674cf64292751dcd36d734688031fffa4c (diff)
downloadCMake-98b448ee9e1fc12181667c5f7431163097466daf.zip
CMake-98b448ee9e1fc12181667c5f7431163097466daf.tar.gz
CMake-98b448ee9e1fc12181667c5f7431163097466daf.tar.bz2
VS2010: Fixed GenerateManifest flag (#10704)
Thanks to "McBen <viertelvor12@gmx.net>" for the patch. (Did not preserve original commit author information because we have a push check for first and last name, and do not accept authors with only an alias...)
Diffstat (limited to 'Source/cmIDEOptions.cxx')
-rw-r--r--Source/cmIDEOptions.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmIDEOptions.cxx b/Source/cmIDEOptions.cxx
index 7acb0f0..d9c0e87 100644
--- a/Source/cmIDEOptions.cxx
+++ b/Source/cmIDEOptions.cxx
@@ -171,3 +171,9 @@ void cmIDEOptions::AddFlag(const char* flag, const char* value)
{
this->FlagMap[flag] = value;
}
+
+//----------------------------------------------------------------------------
+void cmIDEOptions::RemoveFlag(const char* flag)
+{
+ this->FlagMap.erase(flag);
+}