summaryrefslogtreecommitdiffstats
path: root/qmake/main.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-05-09 15:29:25 +0200
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-06-19 16:39:56 +0200
commitbf984d5f24741a52a70024f3f43432307281f0ae (patch)
tree6197ea782c8dce78fcdd260d34e4ed07b175aa12 /qmake/main.cpp
parent6a66fef520d0fb2b8d507c3e91e03338fc39a57e (diff)
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>
Diffstat (limited to 'qmake/main.cpp')
-rw-r--r--qmake/main.cpp2
1 files changed, 2 insertions, 0 deletions
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",