qt5base-lts/qmake/generators
Oswald Buddenhagen 575a516630 revamp automatic makefile generation for sub-projects
instead of making the "real" targets depend on the makefiles, add
conditional makefile generation to the targets themselves.
this causes makefile generation to follow the recursion order determined
by the project, which is important when dealing with prl and module pri
files.
a side effect of this is that qmake and make calls are interleaved now,
which is entirely different from a 'qmake -r' run.

on the downside, calling make with multiple targets which operate on the
same subprojects without prior makefile generation will make a mess, as
the qmake calls will be racing. this should be no problem, as qmake does
not generate recursive targets where this would be useful - at least by
default.

it is not sufficient to just order the creation of the makefiles
non-recursively (e.g., by using gnu-specific order-only-prerequisites),
as an interrupted and subsequently resumed build would happily skip the
nested makefiles.
workable alternative approaches would be walking the entire tree in a
pre-pass to ensure makefile presence (which is incredibly slow) or
creating additional stamp files only after recursing and having the
makefiles depend on them (which is ugly).

Task-number: QTBUG-23376
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Change-Id: I88d3e7610215677d362026de316513d3bea04b06
2012-06-19 16:46:08 +02:00
..
integrity Port away from QString::{to,from}Ascii in qmake 2012-05-14 17:33:04 +02:00
mac Remove unnecessary code from the XCode generator 2012-06-12 17:40:21 +02:00
unix make 'qmake' target of SUBDIRS projects non-recursive 2012-06-19 16:46:05 +02:00
win32 purge unused VcprojGenerator::findTemplate() 2012-06-19 16:39:58 +02:00
makefile.cpp revamp automatic makefile generation for sub-projects 2012-06-19 16:46:08 +02:00
makefile.h revamp automatic makefile generation for sub-projects 2012-06-19 16:46:08 +02:00
makefiledeps.cpp QByteArray: deprecate QT_NO_CAST_FROM_BYTEARRAY-protected operators 2012-02-26 09:14:11 +01:00
makefiledeps.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
metamakefile.cpp do not add "/." to _PRO_FILE_PWD_ 2012-06-19 16:46:04 +02:00
metamakefile.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
projectgenerator.cpp get rid of Option::user_configs 2012-03-02 21:33:08 +01:00
projectgenerator.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
xmloutput.cpp qmake vcxproj generator: properly escape XML attributes 2012-04-05 17:48:15 +02:00
xmloutput.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00