aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/buildgraph/rescuableartifactdata.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2018-05-17 14:03:01 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2018-05-18 07:05:41 +0000
commitd8f1a1b01ed947a1d70c7635945b845a6236f64e (patch)
treeaea5b37a956b0e32286fc75dabb2c0d05e09b822 /src/lib/corelib/buildgraph/rescuableartifactdata.h
parent9008034adf19176c399853ddd04e36ea3473e26e (diff)
Mark parent artifacts explicitly as out of date
... after a transformer finishes. This makes our "out of date" check independent of the local clock resolution for generated artifacts that do not have source artifacts as children. Change-Id: If3d47f1fd859c30846806fabaddf3b47a840a6d3 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/lib/corelib/buildgraph/rescuableartifactdata.h')
-rw-r--r--src/lib/corelib/buildgraph/rescuableartifactdata.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/corelib/buildgraph/rescuableartifactdata.h b/src/lib/corelib/buildgraph/rescuableartifactdata.h
index 7e846aef7..fbcf8a9d4 100644
--- a/src/lib/corelib/buildgraph/rescuableartifactdata.h
+++ b/src/lib/corelib/buildgraph/rescuableartifactdata.h
@@ -66,7 +66,7 @@ class QBS_AUTOTEST_EXPORT RescuableArtifactData
public:
template<PersistentPool::OpType opType> void completeSerializationOp(PersistentPool &pool)
{
- pool.serializationOp<opType>(timeStamp, children, fileDependencies,
+ pool.serializationOp<opType>(timeStamp, children, fileDependencies, knownOutOfDate,
propertiesRequestedInPrepareScript,
propertiesRequestedInCommands,
propertiesRequestedFromArtifactInPrepareScript,
@@ -105,6 +105,7 @@ public:
FileTime timeStamp;
QList<ChildData> children;
std::vector<QString> fileDependencies;
+ bool knownOutOfDate = false;
// Per-Transformer data
CommandList commands;