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/metamakefile.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/metamakefile.h')
-rw-r--r-- | qmake/generators/metamakefile.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/qmake/generators/metamakefile.h b/qmake/generators/metamakefile.h index a6889fd6cd..846a7989f1 100644 --- a/qmake/generators/metamakefile.h +++ b/qmake/generators/metamakefile.h @@ -42,8 +42,6 @@ #ifndef METAMAKEFILE_H #define METAMAKEFILE_H -#include <option.h> - #include <qlist.h> #include <qstring.h> @@ -67,8 +65,6 @@ public: static MetaMakefileGenerator *createMetaGenerator(QMakeProject *proj, const QString &name, bool op=true, bool *success = 0); static MakefileGenerator *createMakefileGenerator(QMakeProject *proj, bool noIO = false); - static bool modeForGenerator(const QString &generator, Option::TARG_MODE *target_mode); - inline QMakeProject *projectFile() const { return project; } virtual bool init() = 0; |