summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorMichael Scott <michael.scott250@gmail.com>2015-12-06 12:33:13 (GMT)
committerBrad King <brad.king@kitware.com>2015-12-10 14:28:31 (GMT)
commit67211011d946684bed73bcd5b976ec90f4c30856 (patch)
treee6300f4a87a753feaccfcce2fca254913ef30ee7 /Source/cmake.h
parent128d569af02d95e455b5ee1d8dddec07251b7033 (diff)
downloadCMake-67211011d946684bed73bcd5b976ec90f4c30856.zip
CMake-67211011d946684bed73bcd5b976ec90f4c30856.tar.gz
CMake-67211011d946684bed73bcd5b976ec90f4c30856.tar.bz2
cmake-gui: Add options to control warning messages
Create a new dialog window for the cmake-gui that provides controls for setting the state of suppression of developer and deprecated warning messages. This replaces the previous single checkbox for setting the state of suppression of developer warnings. Added a note for the new functionality to the release notes.
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 4c5515b..1d63e66 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -308,6 +308,9 @@ class cmake
std::string const& GetCMakeEditCommand() const
{ return this->CMakeEditCommand; }
+ /*
+ * Set the state of the suppression of developer (author) warnings.
+ */
void SetSuppressDevWarnings(bool v);
/*
* Get the state of the suppression of developer (author) warnings.
@@ -317,6 +320,10 @@ class cmake
bool GetSuppressDevWarnings(cmMakefile const* mf = NULL);
/*
+ * Set the state of the suppression of deprecated warnings.
+ */
+ void SetSuppressDeprecatedWarnings(bool v);
+ /*
* Get the state of the suppression of deprecated warnings.
* Returns false, by default, if deprecated warnings should be shown, true
* otherwise.