diff options
author | Michael Scott <michael.scott250@gmail.com> | 2015-12-26 16:04:13 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-01-12 19:03:32 (GMT) |
commit | 821667018cc0ea049c52647b507d1a8e4bbe2c3a (patch) | |
tree | 21dc6a6724338284e9d085905183cf29abe5c7a8 /Source/QtDialog/QCMake.cxx | |
parent | 28f2d750edaf6ee1af660d3a0ae6792c65c47997 (diff) | |
download | CMake-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.cxx')
-rw-r--r-- | Source/QtDialog/QCMake.cxx | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Source/QtDialog/QCMake.cxx b/Source/QtDialog/QCMake.cxx index 71b7940..dd7c138 100644 --- a/Source/QtDialog/QCMake.cxx +++ b/Source/QtDialog/QCMake.cxx @@ -475,6 +475,26 @@ void QCMake::setSuppressDeprecatedWarnings(bool value) this->CMakeInstance->SetSuppressDeprecatedWarnings(value); } +bool QCMake::getDevWarningsAsErrors() +{ + return this->CMakeInstance->GetDevWarningsAsErrors(); +} + +void QCMake::setDevWarningsAsErrors(bool value) +{ + this->CMakeInstance->SetDevWarningsAsErrors(value); +} + +bool QCMake::getDeprecatedWarningsAsErrors() +{ + return this->CMakeInstance->GetDeprecatedWarningsAsErrors(); +} + +void QCMake::setDeprecatedWarningsAsErrors(bool value) +{ + this->CMakeInstance->SetDeprecatedWarningsAsErrors(value); +} + void QCMake::setWarnUninitializedMode(bool value) { this->WarnUninitializedMode = value; |