summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-09-10 20:59:36 (GMT)
committerBrad King <brad.king@kitware.com>2009-09-10 20:59:36 (GMT)
commitafbe0883094afddb7cbaedcb8d89031ef503ed3b (patch)
tree1d8a7b3105ae2ca0b4fa0aff6da561fb973a8c1c /Source/cmMakefile.h
parent6097c04c4d5f847dc7de1fb32f1cfd12b405db81 (diff)
downloadCMake-afbe0883094afddb7cbaedcb8d89031ef503ed3b.zip
CMake-afbe0883094afddb7cbaedcb8d89031ef503ed3b.tar.gz
CMake-afbe0883094afddb7cbaedcb8d89031ef503ed3b.tar.bz2
Remove barely-used cmMakefile::AddCacheDefinition
The boolean overload of this method was used only to implement option(). We re-implement option() in terms of the main method and removes the now-unused signature. This removes some duplicate code that had already fallen behind on changes (it was not removing the local definition instead of setting it).
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 7123eb5..6c3d218 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -294,8 +294,6 @@ public:
* Add bool variable definition to the build.
*/
void AddDefinition(const char* name, bool);
- ///! Add a definition to this makefile and the global cmake cache.
- void AddCacheDefinition(const char* name, bool, const char* doc);
/**
* Remove a variable definition from the build. This is not valid