From bf984d5f24741a52a70024f3f43432307281f0ae Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Wed, 9 May 2012 15:29:25 +0200 Subject: 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 --- qmake/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'qmake/main.cpp') diff --git a/qmake/main.cpp b/qmake/main.cpp index 38e09f60fd..45672c67ee 100644 --- a/qmake/main.cpp +++ b/qmake/main.cpp @@ -163,6 +163,8 @@ int runQMake(int argc, char **argv) fn = fn.right(fn.length() - di - 1); } + Option::prepareProject(fn); + // read project.. if(!project.read(fn)) { fprintf(stderr, "Error processing project file: %s\n", -- cgit v1.2.3