summaryrefslogtreecommitdiff
path: root/Source/QtDialog
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2021-09-21 17:12:35 +0200
committerMarc Chevrier <marc.chevrier@gmail.com>2021-09-21 17:14:04 +0200
commitcc56dc7468bfee49dedbf395d6fca5c372d200fe (patch)
treec4463a4dcdada55ca57cba3713fea88d8d2f3f57 /Source/QtDialog
parent62834c07603e82aafabc082bbbcf74179a4cda27 (diff)
downloadcmake-cc56dc7468bfee49dedbf395d6fca5c372d200fe.tar.gz
Rename cmProp in cmValue
Diffstat (limited to 'Source/QtDialog')
-rw-r--r--Source/QtDialog/QCMake.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/QtDialog/QCMake.cxx b/Source/QtDialog/QCMake.cxx
index 41e8a55945..8ab86564cb 100644
--- a/Source/QtDialog/QCMake.cxx
+++ b/Source/QtDialog/QCMake.cxx
@@ -122,13 +122,13 @@ void QCMake::setBinaryDirectory(const QString& _dir)
QCMakePropertyList props = this->properties();
emit this->propertiesChanged(props);
- cmProp homeDir = state->GetCacheEntryValue("CMAKE_HOME_DIRECTORY");
+ cmValue homeDir = state->GetCacheEntryValue("CMAKE_HOME_DIRECTORY");
if (homeDir) {
setSourceDirectory(QString::fromLocal8Bit(homeDir->c_str()));
}
- cmProp gen = state->GetCacheEntryValue("CMAKE_GENERATOR");
+ cmValue gen = state->GetCacheEntryValue("CMAKE_GENERATOR");
if (gen) {
- cmProp extraGen =
+ cmValue extraGen =
state->GetInitializedCacheValue("CMAKE_EXTRA_GENERATOR");
std::string curGen =
cmExternalMakefileProjectGenerator::CreateFullGeneratorName(*gen,
@@ -136,12 +136,12 @@ void QCMake::setBinaryDirectory(const QString& _dir)
this->setGenerator(QString::fromLocal8Bit(curGen.c_str()));
}
- cmProp platform = state->GetCacheEntryValue("CMAKE_GENERATOR_PLATFORM");
+ cmValue platform = state->GetCacheEntryValue("CMAKE_GENERATOR_PLATFORM");
if (platform) {
this->setPlatform(QString::fromLocal8Bit(platform->c_str()));
}
- cmProp toolset = state->GetCacheEntryValue("CMAKE_GENERATOR_TOOLSET");
+ cmValue toolset = state->GetCacheEntryValue("CMAKE_GENERATOR_TOOLSET");
if (toolset) {
this->setToolset(QString::fromLocal8Bit(toolset->c_str()));
}
@@ -396,11 +396,11 @@ QCMakePropertyList QCMake::properties() const
continue;
}
- cmProp cachedValue = state->GetCacheEntryValue(key);
+ cmValue cachedValue = state->GetCacheEntryValue(key);
QCMakeProperty prop;
prop.Key = QString::fromLocal8Bit(key.c_str());
- if (cmProp hs = state->GetCacheEntryProperty(key, "HELPSTRING")) {
+ if (cmValue hs = state->GetCacheEntryProperty(key, "HELPSTRING")) {
prop.Help = QString::fromLocal8Bit(hs->c_str());
}
prop.Value = QString::fromLocal8Bit(cachedValue->c_str());
@@ -414,7 +414,7 @@ QCMakePropertyList QCMake::properties() const
prop.Type = QCMakeProperty::FILEPATH;
} else if (t == cmStateEnums::STRING) {
prop.Type = QCMakeProperty::STRING;
- cmProp stringsProperty = state->GetCacheEntryProperty(key, "STRINGS");
+ cmValue stringsProperty = state->GetCacheEntryProperty(key, "STRINGS");
if (stringsProperty) {
prop.Strings =
QString::fromLocal8Bit(stringsProperty->c_str()).split(";");