forked from qt-creator/qt-creator
CMake: Make it easier to get the expanded value of a CMake configuration
Change-Id: If289c48ef4ec2815e8bd12e08b990d1dc809c524 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
@@ -81,7 +81,7 @@ static QStringList toArguments(const CMakeConfig &config, const ProjectExplorer:
|
||||
a.append(QLatin1String(":INTERNAL="));
|
||||
break;
|
||||
}
|
||||
a.append(QString::fromUtf8(k->macroExpander()->expand(i.value)));
|
||||
a.append(i.expandedValue(k));
|
||||
|
||||
return a;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user