summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-09-18 14:39:41 (GMT)
committerBrad King <brad.king@kitware.com>2002-09-18 14:39:41 (GMT)
commitaa29bbc3260453959b65104881e9b1e18d278700 (patch)
tree441e9c550bfa24791624fb1028b2322cc7b06281 /Source/cmMakefile.cxx
parent24e051812287e5d40fd336e1354429844cd00dee (diff)
downloadCMake-aa29bbc3260453959b65104881e9b1e18d278700.zip
CMake-aa29bbc3260453959b65104881e9b1e18d278700.tar.gz
CMake-aa29bbc3260453959b65104881e9b1e18d278700.tar.bz2
ENH: Added RemoveDefinition method.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index f1d706e..ec8871b 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -586,6 +586,11 @@ void cmMakefile::AddCacheDefinition(const char* name, bool value, const char* do
this->AddDefinition(name, value);
}
+void cmMakefile::RemoveDefinition(const char* name)
+{
+ m_Definitions.erase(DefinitionMap::key_type(name));
+}
+
void cmMakefile::SetProjectName(const char* p)
{
m_ProjectName = p;