summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2010-08-24 20:49:49 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2010-09-01 17:08:14 (GMT)
commitd3e8eb504137dde90a73f1b46f97f889af46db18 (patch)
treecae1d614efc1acbe7a0efc284d6e1c7fadcf8cc6 /Source/cmake.h
parentf332e14ff2035e33bced0915373296a1f4cf0876 (diff)
downloadCMake-d3e8eb504137dde90a73f1b46f97f889af46db18.zip
CMake-d3e8eb504137dde90a73f1b46f97f889af46db18.tar.gz
CMake-d3e8eb504137dde90a73f1b46f97f889af46db18.tar.bz2
Add flags to detect unused variables
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 5c2f17a..7b612ea 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -308,6 +308,10 @@ class cmake
void SetTrace(bool b) { this->Trace = b;}
bool GetStrictMode() { return this->StrictMode;}
void SetStrictMode(bool b) { this->StrictMode = b;}
+ bool GetFindUnused() { return this->FindUnused;}
+ void SetFindUnused(bool b) { this->FindUnused = b;}
+ bool GetDefaultToUsed() { return this->DefaultToUsed;}
+ void SetDefaultToUsed(bool b) { this->DefaultToUsed = b;}
// Define a property
void DefineProperty(const char *name, cmProperty::ScopeType scope,
const char *ShortDescription,
@@ -446,6 +450,8 @@ private:
bool DebugOutput;
bool Trace;
bool StrictMode;
+ bool FindUnused;
+ bool DefaultToUsed;
std::string CMakeEditCommand;
std::string CMakeCommand;
std::string CXXEnvironment;