add support for a super cache
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Thu, 10 May 2012 10:59:14 +0000 (12:59 +0200)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Tue, 19 Jun 2012 14:46:03 +0000 (16:46 +0200)
commit1f83f0cf2ad077733fe783879ae16e293a2ceaee
tree909de880a9321c6f39fbe95c1f83634c4c08eefc
parent16d5b6911f18977d92734eeea419b27408a08d40
add support for a super cache

qmake will now look for .qmake.super, just like it looks for .qmake.cache,
and the cache() function has a mode to write this super cache.
this allows the creation of aggregator projects like, say, qt5.
a notable difference to the normal cache is that this file is *not* added
as a dependency of the Makefile. this means that modifications done by
later sub-projects will not cause a re-processing of earlier projects, and
consequently that one should be cautious regarding what information to
store there.
another notable difference is that this file is read *before* the spec,
so the spec can use the variables from the cache without resorting to
$$fromfile() & co.

Change-Id: I4807b6d34014261fa9eebd6f0ae128b802d86691
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
qmake/project.cpp
qmake/project.h