add $$shadowed() function
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Wed, 9 May 2012 13:29:25 +0000 (15:29 +0200)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Tue, 19 Jun 2012 14:39:56 +0000 (16:39 +0200)
commitbf984d5f24741a52a70024f3f43432307281f0ae
tree6197ea782c8dce78fcdd260d34e4ed07b175aa12
parent6a66fef520d0fb2b8d507c3e91e03338fc39a57e
add $$shadowed() function

return the build directory corresponding to a given source directory.
this is the identity function if not shadow-building. if input lies
outside the source directory, return empty value.

Change-Id: I2d2a6b1112bd19989fe29cfe19a12d39a0d208c1
Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
qmake/main.cpp
qmake/option.cpp
qmake/option.h
qmake/project.cpp
tests/auto/tools/qmake/testdata/functions/functions.pro
tests/auto/tools/qmake/tst_qmake.cpp