summaryrefslogtreecommitdiff
path: root/src/lib/buildgraph/buildgraphloader.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2013-07-15 10:50:15 +0200
committerChristian Kandeler <christian.kandeler@digia.com>2013-07-16 10:17:51 +0200
commit7aff31171eb3e756fc6ac6ff4bb4db6dcc96e42a (patch)
tree28ab89b930aa173a9e88980095f25abc2348709f /src/lib/buildgraph/buildgraphloader.h
parente8899e40aa9c00329e59bfc784935bab16d0cafc (diff)
downloadqbs-7aff31171eb3e756fc6ac6ff4bb4db6dcc96e42a.tar.gz
Handle "indirect" changes to a product's file list.
If the list of source files in a product changed without the respective file having been touched (e.g. because the list was dependent on an environment variable), we re-resolved the product, but we did not touch the build data, so the new file was not compiled. Change-Id: Ib63020339aa0bbc2a858ed22f938ab76fb0611c5 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/lib/buildgraph/buildgraphloader.h')
-rw-r--r--src/lib/buildgraph/buildgraphloader.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/buildgraph/buildgraphloader.h b/src/lib/buildgraph/buildgraphloader.h
index cd769583b..8cbe5e354 100644
--- a/src/lib/buildgraph/buildgraphloader.h
+++ b/src/lib/buildgraph/buildgraphloader.h
@@ -67,15 +67,15 @@ private:
const QString &buildGraphFilePath,
const TopLevelProjectPtr &restoredProject);
bool hasEnvironmentChanged(const TopLevelProjectConstPtr &restoredProject) const;
- bool hasProjectFileChanged(const QList<ResolvedProjectPtr> &restoredProjects,
- const FileTime &referenceTime,
- QSet<QString> &remainingBuildSystemFiles) const;
bool hasProductFileChanged(const QList<ResolvedProductPtr> &restoredProducts,
const FileTime &referenceTime,
QSet<QString> &remainingBuildSystemFiles,
QList<ResolvedProductPtr> &changedProducts);
bool hasBuildSystemFileChanged(const QSet<QString> &buildSystemFiles,
const FileTime &referenceTime);
+ void checkAllProductsForChanges(const QList<ResolvedProductPtr> &restoredProducts,
+ const QMap<QString, ResolvedProductPtr> &newlyResolvedProductsByName,
+ QList<ResolvedProductPtr> &changedProducts);
void onProductRemoved(const ResolvedProductPtr &product, ProjectBuildData *projectBuildData);
void onProductChanged(const ResolvedProductPtr &product,
const ResolvedProductPtr &changedProduct);