revamp handling of qmake target mode
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Tue, 17 Apr 2012 10:15:39 +0000 (12:15 +0200)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Wed, 27 Jun 2012 07:39:50 +0000 (09:39 +0200)
commit4753958db707001d1e14fa8312708dc1e891bacc
treea08250cc5e1c79fd2c8622dd42dbaff8b114bb4e
parent777fa561ab3af83ac78dbe55a22ae28097f0dfbd
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>
mkspecs/features/spec_post.prf [new file with mode: 0644]
qmake/generators/makefile.cpp
qmake/generators/makefile.h
qmake/generators/metamakefile.cpp
qmake/generators/metamakefile.h
qmake/generators/unix/unixmake.cpp
qmake/option.cpp
qmake/option.h
qmake/project.cpp
qmake/project.h