summaryrefslogtreecommitdiffstats
path: root/qmake/option.h
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-02-22 16:41:35 +0100
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-02-26 14:29:15 +0100
commite795e61ef93f8080f9938ac49f2fca306644af85 (patch)
tree9974fbf6a1d84929c6014c450b9f4d3b30e5fb5c /qmake/option.h
parentd7404e4ce890139c1447f892009c8a30f6dd6314 (diff)
add possibility to request project recursion from within a pro file
this is the same as specifying -r on the command line, but it can be set in pro and spec files for cases where no recursion would plain not work. the implementation is via a new option() instruction which at some point will be used to set other "modes of operation" as well. for now, only the "recursive" option is recognized. Reviewed-by: mariusSO
Diffstat (limited to 'qmake/option.h')
-rw-r--r--qmake/option.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qmake/option.h b/qmake/option.h
index 514e442e2b..3ee1743cea 100644
--- a/qmake/option.h
+++ b/qmake/option.h
@@ -148,7 +148,8 @@ struct Option
static QString output_dir;
static int debug_level;
static int warn_level;
- static bool recursive;
+ enum QMAKE_RECURSIVE { QMAKE_RECURSIVE_DEFAULT, QMAKE_RECURSIVE_YES, QMAKE_RECURSIVE_NO };
+ static QMAKE_RECURSIVE recursive;
static QStringList before_user_vars, after_user_vars, user_configs, after_user_configs;
enum TARG_MODE { TARG_UNIX_MODE, TARG_WIN_MODE, TARG_MACX_MODE };
static TARG_MODE target_mode;