summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-03-12 02:50:35 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-03-12 02:50:35 (GMT)
commitfc26c1459caa61c79b9076e3ca85905e45bbcbc9 (patch)
treea2182bd4f0250b73b8913b7fb9b4e8f334c9fc1a /Source/cmake.h
parentb78997d71ddd68247f021bb258f6ffd1e344057b (diff)
downloadCMake-fc26c1459caa61c79b9076e3ca85905e45bbcbc9.zip
CMake-fc26c1459caa61c79b9076e3ca85905e45bbcbc9.tar.gz
CMake-fc26c1459caa61c79b9076e3ca85905e45bbcbc9.tar.bz2
ENH: add ability to suppress dev warnings to gui code
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index b4d6036..416db7f 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -344,6 +344,10 @@ class cmake
{
this->CMakeEditCommand = s;
}
+ void SetSuppressDevWarnings(bool v)
+ {
+ this->SuppressDevWarnings = v;
+ }
protected:
int HandleDeleteCacheVariables(const char* var);
cmPropertyMap Properties;
@@ -376,7 +380,7 @@ protected:
std::string HomeOutputDirectory;
std::string cmStartDirectory;
std::string StartOutputDirectory;
-
+ bool SuppressDevWarnings;
std::set<cmStdString> WrittenFiles;
///! return true if the same cmake was used to make the cache.