summaryrefslogtreecommitdiffstats
path: root/qmake/option.h
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/option.h
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/option.h')
-rw-r--r--qmake/option.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/qmake/option.h b/qmake/option.h
index f6f5dbbb9d..c58ef4aed0 100644
--- a/qmake/option.h
+++ b/qmake/option.h
@@ -109,6 +109,7 @@ struct Option
//both of these must be called..
static int init(int argc=0, char **argv=0); //parse cmdline
static void applyHostMode();
+ static void prepareProject(const QString &pfile);
static bool postProcessProject(QMakeProject *);
enum StringFixFlags {
@@ -203,6 +204,8 @@ struct Option
static bool do_dep_heuristics;
static bool do_preprocess;
static bool do_stub_makefile;
+ static QString source_root;
+ static QString build_root;
static QString cachefile;
static int cachefile_depth;
static QStringList project_files;