summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/QCMake.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2010-08-25 16:43:02 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2010-09-01 17:08:15 (GMT)
commit786e2695cb68402d44357002b438c95229c4fb19 (patch)
tree7b008945264d33ab95f5e83f5b1a3fd66d2aea98 /Source/QtDialog/QCMake.h
parent636e6c4ef7e79113802714dbc7ade77d4f04e809 (diff)
downloadCMake-786e2695cb68402d44357002b438c95229c4fb19.zip
CMake-786e2695cb68402d44357002b438c95229c4fb19.tar.gz
CMake-786e2695cb68402d44357002b438c95229c4fb19.tar.bz2
Add warn-unused to the Qt interface
Diffstat (limited to 'Source/QtDialog/QCMake.h')
-rw-r--r--Source/QtDialog/QCMake.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/QtDialog/QCMake.h b/Source/QtDialog/QCMake.h
index 6d2b2ff..6056a8c 100644
--- a/Source/QtDialog/QCMake.h
+++ b/Source/QtDialog/QCMake.h
@@ -90,6 +90,10 @@ public slots:
void setSuppressDevWarnings(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
+ void setWarnUnusedMode(bool value);
+ /// set whether to run cmake with warnings about all unused variables
+ void setWarnUnusedAllMode(bool value);
public:
/// get the list of cache properties
@@ -136,6 +140,8 @@ protected:
bool&, void* cd);
bool SuppressDevWarnings;
bool WarnUninitializedMode;
+ bool WarnUnusedMode;
+ bool WarnUnusedAllMode;
QString SourceDirectory;
QString BinaryDirectory;
QString Generator;