diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2012-04-17 12:15:39 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2012-06-27 09:39:50 +0200 |
commit | 4753958db707001d1e14fa8312708dc1e891bacc (patch) | |
tree | a08250cc5e1c79fd2c8622dd42dbaff8b114bb4e /qmake/generators/makefile.h | |
parent | 777fa561ab3af83ac78dbe55a22ae28097f0dfbd (diff) |
revamp handling of qmake target mode
the project evaluator becomes oblivious of the target mode.
the mode is set up in spec_post.prf according to the spec.
$$QMAKE_TARGET contains the feature suffixes to search, and is also
contained in $$CONFIG.
the target_mode variable itself becomes private to the Makefile class.
Change-Id: I3c06d9dab536b753343cec6c5c491d3203e50bd8
Reviewed-by: Mark Brand <mabrand@mabrand.nl>
Diffstat (limited to 'qmake/generators/makefile.h')
-rw-r--r-- | qmake/generators/makefile.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qmake/generators/makefile.h b/qmake/generators/makefile.h index 2cf774e2bc..b177cc7eb0 100644 --- a/qmake/generators/makefile.h +++ b/qmake/generators/makefile.h @@ -91,6 +91,8 @@ class MakefileGenerator : protected QMakeSourceFileInfo mutable QHash<ReplaceExtraCompilerCacheKey, QString> extraCompilerVariablesCache; protected: + enum TARG_MODE { TARG_UNIX_MODE, TARG_MACX_MODE, TARG_WIN_MODE } target_mode; + QStringList createObjectList(const QStringList &sources); //makefile style generator functions |