summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/QCMake.h
diff options
context:
space:
mode:
authorMichael Scott <michael.scott250@gmail.com>2015-12-26 16:04:13 (GMT)
committerBrad King <brad.king@kitware.com>2016-01-12 19:03:32 (GMT)
commit821667018cc0ea049c52647b507d1a8e4bbe2c3a (patch)
tree21dc6a6724338284e9d085905183cf29abe5c7a8 /Source/QtDialog/QCMake.h
parent28f2d750edaf6ee1af660d3a0ae6792c65c47997 (diff)
downloadCMake-821667018cc0ea049c52647b507d1a8e4bbe2c3a.zip
CMake-821667018cc0ea049c52647b507d1a8e4bbe2c3a.tar.gz
CMake-821667018cc0ea049c52647b507d1a8e4bbe2c3a.tar.bz2
cmake-gui: Add options to control warning-as-error messages
Add new widgets to the warning messages dialog to control treating warnings as errors.
Diffstat (limited to 'Source/QtDialog/QCMake.h')
-rw-r--r--Source/QtDialog/QCMake.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/QtDialog/QCMake.h b/Source/QtDialog/QCMake.h
index 4b787b9..8942e7c 100644
--- a/Source/QtDialog/QCMake.h
+++ b/Source/QtDialog/QCMake.h
@@ -99,6 +99,14 @@ public slots:
bool getSuppressDeprecatedWarnings();
/// set whether to do suppress deprecated warnings
void setSuppressDeprecatedWarnings(bool value);
+ /// get whether to treat developer (author) warnings as errors
+ bool getDevWarningsAsErrors();
+ /// set whether to treat developer (author) warnings as errors
+ void setDevWarningsAsErrors(bool value);
+ /// get whether to treat deprecated warnings as errors
+ bool getDeprecatedWarningsAsErrors();
+ /// set whether to treat deprecated warnings as errors
+ void setDeprecatedWarningsAsErrors(bool value);
/// set whether to run cmake with warnings about uninitialized variables
void setWarnUninitializedMode(bool value);
/// set whether to run cmake with warnings about unused variables