summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/QCMake.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2010-08-25 16:35:40 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2010-09-01 17:08:14 (GMT)
commitd7999e9b294f93f68b5ec9e3efd8017fad3f05d9 (patch)
treed705db14b00d2b6a22a8335aff2511ed95764489 /Source/QtDialog/QCMake.cxx
parente141bc950a1970c6bc96fa5f55fd60c6aedbb2d0 (diff)
downloadCMake-d7999e9b294f93f68b5ec9e3efd8017fad3f05d9.zip
CMake-d7999e9b294f93f68b5ec9e3efd8017fad3f05d9.tar.gz
CMake-d7999e9b294f93f68b5ec9e3efd8017fad3f05d9.tar.bz2
Rename strict-mode to warn-uninitialized
Diffstat (limited to 'Source/QtDialog/QCMake.cxx')
-rw-r--r--Source/QtDialog/QCMake.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/QtDialog/QCMake.cxx b/Source/QtDialog/QCMake.cxx
index 31daf3c..8d24c1c2 100644
--- a/Source/QtDialog/QCMake.cxx
+++ b/Source/QtDialog/QCMake.cxx
@@ -28,7 +28,7 @@ QCMake::QCMake(QObject* p)
: QObject(p)
{
this->SuppressDevWarnings = false;
- this->StrictMode = false;
+ this->WarnUninitializedMode = false;
qRegisterMetaType<QCMakeProperty>();
qRegisterMetaType<QCMakePropertyList>();
@@ -165,8 +165,8 @@ void QCMake::configure()
this->CMakeInstance->CreateGlobalGenerator(this->Generator.toAscii().data()));
this->CMakeInstance->LoadCache();
this->CMakeInstance->SetSuppressDevWarnings(this->SuppressDevWarnings);
- std::cerr << "set strict " << this->StrictMode << "\n";
- this->CMakeInstance->SetStrictMode(this->StrictMode);
+ std::cerr << "set warn uninitialized " << this->WarnUninitializedMode << "\n";
+ this->CMakeInstance->SetWarnUninitialized(this->WarnUninitializedMode);
this->CMakeInstance->PreLoadCMakeFiles();
cmSystemTools::ResetErrorOccuredFlag();
@@ -421,7 +421,7 @@ void QCMake::setSuppressDevWarnings(bool value)
this->SuppressDevWarnings = value;
}
-void QCMake::setStrictMode(bool value)
+void QCMake::setWarnUninitializedMode(bool value)
{
- this->StrictMode = value;
+ this->WarnUninitializedMode = value;
}