diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2010-08-24 20:49:49 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2010-09-01 17:08:14 (GMT) |
commit | d3e8eb504137dde90a73f1b46f97f889af46db18 (patch) | |
tree | cae1d614efc1acbe7a0efc284d6e1c7fadcf8cc6 /Source/cmake.h | |
parent | f332e14ff2035e33bced0915373296a1f4cf0876 (diff) | |
download | CMake-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.h | 6 |
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; |