diff options
| author | Christian Kandeler <christian.kandeler@digia.com> | 2013-07-15 10:50:15 +0200 |
|---|---|---|
| committer | Christian Kandeler <christian.kandeler@digia.com> | 2013-07-16 10:17:51 +0200 |
| commit | 7aff31171eb3e756fc6ac6ff4bb4db6dcc96e42a (patch) | |
| tree | 28ab89b930aa173a9e88980095f25abc2348709f /src/lib/buildgraph/buildgraphloader.h | |
| parent | e8899e40aa9c00329e59bfc784935bab16d0cafc (diff) | |
| download | qbs-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.h | 6 |
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); |
