summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-12-11 14:43:42 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-12-11 14:43:42 (GMT)
commit05d8aed844e0e0c555ee879fd3fa893da364e12f (patch)
treea6122160904cfca4df24fd65fac99332e121ed13 /Source/cmake.h
parente240a489c15a8cd09dc36f1ec8dcb8241aac7ed1 (diff)
parent291275347be3f9c02aff6fb4dfa45a3e5b2f5b4a (diff)
downloadCMake-05d8aed844e0e0c555ee879fd3fa893da364e12f.zip
CMake-05d8aed844e0e0c555ee879fd3fa893da364e12f.tar.gz
CMake-05d8aed844e0e0c555ee879fd3fa893da364e12f.tar.bz2
Merge topic 'cmake-W-options'
29127534 cmake: Deduplicate warning message control code 67211011 cmake-gui: Add options to control warning messages
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 4c5515b..298d82b 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -308,13 +308,16 @@ class cmake
std::string const& GetCMakeEditCommand() const
{ return this->CMakeEditCommand; }
- void SetSuppressDevWarnings(bool v);
/*
* Get the state of the suppression of developer (author) warnings.
* Returns false, by default, if developer warnings should be shown, true
* otherwise.
*/
bool GetSuppressDevWarnings(cmMakefile const* mf = NULL);
+ /*
+ * Set the state of the suppression of developer (author) warnings.
+ */
+ void SetSuppressDevWarnings(bool v);
/*
* Get the state of the suppression of deprecated warnings.
@@ -322,6 +325,10 @@ class cmake
* otherwise.
*/
bool GetSuppressDeprecatedWarnings(cmMakefile const* mf = NULL);
+ /*
+ * Set the state of the suppression of deprecated warnings.
+ */
+ void SetSuppressDeprecatedWarnings(bool v);
/** Display a message to the user. */
void IssueMessage(cmake::MessageType t, std::string const& text,