Add signing options to CMake/iOS build configuration

Adds the signing settings to iOS configurations.
Adds placeholders for signing flags to the initial CMake arguments, and
updates the CMake configuration when signing settings change.

The new configuration doesn't get automatically applied. Only the "Apply
Configuration Changes" button gets enabled and the user has to press
that explicitly. This seems to be a more general issue affecting the QML
debugging setting too, though.

Task-number: QTCREATORBUG-23574
Change-Id: I3e8d45f565347e1ad2ac274a21b1552f1510e8f4
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
Eike Ziller
2021-02-04 14:53:42 +01:00
parent 865d87a75f
commit 9bd8dc41d2
12 changed files with 290 additions and 103 deletions

View File

@@ -53,10 +53,12 @@ BuildDirParameters::BuildDirParameters(CMakeBuildConfiguration *bc)
const Utils::MacroExpander *expander = bc->macroExpander();
initialCMakeArguments = Utils::transform(bc->initialCMakeArguments(),
[expander](const QString &s) {
return expander->expand(s);
});
const QStringList expandedArguments = Utils::transform(bc->initialCMakeArguments(),
[expander](const QString &s) {
return expander->expand(s);
});
initialCMakeArguments = Utils::filtered(expandedArguments,
[](const QString &s) { return !s.isEmpty(); });
extraCMakeArguments = Utils::transform(bc->extraCMakeArguments(),
[expander](const QString &s) {
return expander->expand(s);