forked from qt-creator/qt-creator
Qmake: Do not turn a CONFIG variable with spaces into several
When e.g. examining 'CONFIG+=foo bar' Creator would turn that into CONFIG+=foo and 'CONFIG+=foo bar', which seems wrong to me. Task-number: QTCREATORBUG-16492 Change-Id: I37b83f1e8415d421abb2df7a9466651bff502d17 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
This commit is contained in:
@@ -208,9 +208,10 @@ void MakeFileParse::parseAssignments(QList<QMakeAssignment> *assignments)
|
||||
} else {
|
||||
newValues.append(value);
|
||||
}
|
||||
}
|
||||
if (!newValues.isEmpty()) {
|
||||
QMakeAssignment newQA = qa;
|
||||
newQA.value = newValues.join(QLatin1Char(' '));
|
||||
if (!newValues.isEmpty())
|
||||
assignments->append(newQA);
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user