summaryrefslogtreecommitdiffstats
path: root/qmake/project.h
diff options
context:
space:
mode:
Diffstat (limited to 'qmake/project.h')
-rw-r--r--qmake/project.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/qmake/project.h b/qmake/project.h
index ccdc1b63f1..e733f6097c 100644
--- a/qmake/project.h
+++ b/qmake/project.h
@@ -79,8 +79,13 @@ class QMakeProject
QHash<QString, FunctionBlock*> testFunctions, replaceFunctions;
bool recursive;
+ bool host_build;
+ bool need_restart;
bool own_prop;
bool backslashWarned;
+ QString conffile;
+ QString superfile;
+ QString cachefile;
QString pfile;
QMakeProperty *prop;
void reset();
@@ -107,6 +112,7 @@ class QMakeProject
bool doVariableReplace(QString &str, QHash<QString, QStringList> &place);
QStringList doVariableReplaceExpand(const QString &str, QHash<QString, QStringList> &place, bool *ok=0);
void init(QMakeProperty *);
+ void cleanup();
QStringList &values(const QString &v, QHash<QString, QStringList> &place);
void validateModes();
void resolveSpec(QString *spec, const QString &qmakespec);
@@ -128,6 +134,8 @@ public:
QStringList userTestFunctions() { return testFunctions.keys(); }
QString projectFile();
+ QString confFile() const { return conffile; }
+ QString cacheFile() const { return cachefile; }
inline QMakeProperty *properties() { return prop; }
bool doProjectTest(QString str, QHash<QString, QStringList> &place);
@@ -160,6 +168,7 @@ public:
QHash<QString, QStringList> &variables(); // No compat mapping and magic, obviously
bool isRecursive() const { return recursive; }
+ bool isHostBuild() const { return host_build; }
protected:
friend class MakefileGenerator;