summaryrefslogtreecommitdiffstats
path: root/qmake/library/qmakeglobals.h
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-05-12 17:50:17 +0200
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-05-17 15:30:38 +0000
commit26d44fce3dfb9dbd3b5be2a031fff8c1bb903960 (patch)
tree615ca9861ddd23392f8d098345ad15c498f2ec3f /qmake/library/qmakeglobals.h
parentfade29581430e15d4f5b93b16500a6551d9c53f9 (diff)
introduce a new way to pass arbitrary arguments to the project file
this is done by recognizing the -- option and putting everything that follows it into the QMAKE_EXTRA_ARGS variable. the purpose of this is being able to pass "alien" arguments (for example configure options) without having to marshal them into a qmake variable assignment manually. this is expected to greatly enhance the convenience when no wrapper script (i.e., configure itself) is used (which will be the case outside qtbase). Change-Id: I47735bdab2811d17d7d394fbf638ebd14332ea73 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'qmake/library/qmakeglobals.h')
-rw-r--r--qmake/library/qmakeglobals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmake/library/qmakeglobals.h b/qmake/library/qmakeglobals.h
index 79237e6ebe..96c39fa168 100644
--- a/qmake/library/qmakeglobals.h
+++ b/qmake/library/qmakeglobals.h
@@ -85,7 +85,7 @@ class QMAKE_EXPORT QMakeCmdLineParserState
public:
QMakeCmdLineParserState(const QString &_pwd) : pwd(_pwd), after(false) {}
QString pwd;
- QStringList precmds, preconfigs, postcmds, postconfigs;
+ QStringList precmds, preconfigs, postcmds, postconfigs, extraargs;
bool after;
void flush() { after = false; }