diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2010-09-01 15:24:20 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2010-09-01 17:09:08 (GMT) |
commit | 74997000c89ee3a82d68e4107d4a4264e7e57229 (patch) | |
tree | 2551f29fd89495df47cec7bbded5efaa6e074239 /Source/cmake.h | |
parent | fff9f6d6f74aa92d0bc4adf3a80a25b1b662458d (diff) | |
download | CMake-74997000c89ee3a82d68e4107d4a4264e7e57229.zip CMake-74997000c89ee3a82d68e4107d4a4264e7e57229.tar.gz CMake-74997000c89ee3a82d68e4107d4a4264e7e57229.tar.bz2 |
Add a flag to warn about system files
Diffstat (limited to 'Source/cmake.h')
-rw-r--r-- | Source/cmake.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmake.h b/Source/cmake.h index 7f7546a..403809f 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -312,6 +312,8 @@ class cmake void SetWarnUnused(bool b) { this->WarnUnused = b;} bool GetWarnUnusedCli() { return this->WarnUnusedCli;} void SetWarnUnusedCli(bool b) { this->WarnUnusedCli = b;} + bool GetCheckSystemVars() { return this->CheckSystemVars;} + void SetCheckSystemVars(bool b) { this->CheckSystemVars = b;} void MarkCliAsUsed(const std::string& variable); @@ -455,6 +457,7 @@ private: bool WarnUninitialized; bool WarnUnused; bool WarnUnusedCli; + bool CheckSystemVars; std::map<std::string, bool> UsedCliVariables; std::string CMakeEditCommand; std::string CMakeCommand; |