aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/api
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@digia.com>2013-06-18 15:35:04 +0200
committerTobias Hunger <tobias.hunger@digia.com>2013-06-20 17:15:52 +0200
commit22a2777a898fdef6f2d5fc4f93a8c11682ecf4ea (patch)
tree3bbbfab563eabd4caa44f835bb5efefeb2bacfac /src/lib/api
parent590c138dc9fe8ece6d7c21fc61f33012cb0c7691 (diff)
Store list of files that are part of the project
Store a list of all files that are referenced when resolving the project as part of the project. This list is then processed to check whether the project needs to be re-resolved. Change-Id: Iccb8928a5349546c22a9615256a505bebf5de567 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/lib/api')
-rw-r--r--src/lib/api/project.cpp5
-rw-r--r--src/lib/api/project.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/api/project.cpp b/src/lib/api/project.cpp
index d1819ec6a..7b2b783e3 100644
--- a/src/lib/api/project.cpp
+++ b/src/lib/api/project.cpp
@@ -491,4 +491,9 @@ QHash<QString, QString> Project::usedEnvironment() const
return d->internalProject->usedEnvironment;
}
+QSet<QString> Project::buildSystemFiles() const
+{
+ return d->internalProject->buildSystemFiles;
+}
+
} // namespace qbs
diff --git a/src/lib/api/project.h b/src/lib/api/project.h
index e69bb5232..291697259 100644
--- a/src/lib/api/project.h
+++ b/src/lib/api/project.h
@@ -105,6 +105,8 @@ public:
QVariantMap projectConfiguration() const;
QHash<QString, QString> usedEnvironment() const;
+ QSet<QString> buildSystemFiles() const;
+
private:
Project();
Project(const Internal::TopLevelProjectPtr &internalProject, const Internal::Logger &logger);