summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2010-09-01 15:24:20 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2010-09-01 17:09:08 (GMT)
commit74997000c89ee3a82d68e4107d4a4264e7e57229 (patch)
tree2551f29fd89495df47cec7bbded5efaa6e074239 /Source/cmake.h
parentfff9f6d6f74aa92d0bc4adf3a80a25b1b662458d (diff)
downloadCMake-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.h3
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;