summaryrefslogtreecommitdiffstats
path: root/qmake/project.h
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-02-22 15:41:35 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-02-26 13:29:15 (GMT)
commite795e61ef93f8080f9938ac49f2fca306644af85 (patch)
tree9974fbf6a1d84929c6014c450b9f4d3b30e5fb5c /qmake/project.h
parentd7404e4ce890139c1447f892009c8a30f6dd6314 (diff)
downloadQt-e795e61ef93f8080f9938ac49f2fca306644af85.zip
Qt-e795e61ef93f8080f9938ac49f2fca306644af85.tar.gz
Qt-e795e61ef93f8080f9938ac49f2fca306644af85.tar.bz2
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/project.h')
-rw-r--r--qmake/project.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/qmake/project.h b/qmake/project.h
index 1f53bf2..a8dcc28 100644
--- a/qmake/project.h
+++ b/qmake/project.h
@@ -78,6 +78,7 @@ class QMakeProject
FunctionBlock *function;
QMap<QString, FunctionBlock*> testFunctions, replaceFunctions;
+ bool recursive;
bool own_prop;
QString pfile, cfile;
QMakeProperty *prop;
@@ -154,6 +155,8 @@ public:
QString first(const QString &v);
QMap<QString, QStringList> &variables();
+ bool isRecursive() const { return recursive; }
+
protected:
friend class MakefileGenerator;
bool read(const QString &file, QMap<QString, QStringList> &place);