summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2010-11-15 15:32:15 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2010-11-15 15:32:15 (GMT)
commitc18c977ce81d730a870958b591f61a65a16c2758 (patch)
treed7907bdee6a9a98b965531da6694a0f0afd62965 /Source/cmake.h
parent3f1121f72260789dd61ce947e208aa182341859e (diff)
downloadCMake-c18c977ce81d730a870958b591f61a65a16c2758.zip
CMake-c18c977ce81d730a870958b591f61a65a16c2758.tar.gz
CMake-c18c977ce81d730a870958b591f61a65a16c2758.tar.bz2
When checking for variables, specify a reason
Allow reasons to begiven for checking for unused variables.
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 9001748..b132164 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -365,7 +365,7 @@ class cmake
bool clean);
void WatchUnusedCli(const char* var);
- void RunCheckForUnusedVariables() const;
+ void RunCheckForUnusedVariables(const std::string& reason) const;
protected:
void InitializeProperties();
int HandleDeleteCacheVariables(const char* var);