diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2018-07-11 16:34:28 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2018-07-18 13:39:15 +0000 |
commit | 52fa9a61a87830167a5e06d5d41e50bbea42c0cf (patch) | |
tree | 22ff882572720828a7335b3388d8d647b66d08a8 /src | |
parent | f59d5d66578935704b282af9418119ef72f52d41 (diff) |
RuleNode: Fix value of m_oldInputArtifacts
This set is used on the next run to determine which of the compatible
inputs have been added and removed in the meantime, respectively.
Therefore, it must contain all the matching inputs, not just the ones
for which the rule was (re-)applied last time.
Change-Id: Ia8f2c2f91b0efd902cc2f43adb94786f2f30c1f2
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/corelib/buildgraph/rulenode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/buildgraph/rulenode.cpp b/src/lib/corelib/buildgraph/rulenode.cpp index 23fd1b56c..50fa3b164 100644 --- a/src/lib/corelib/buildgraph/rulenode.cpp +++ b/src/lib/corelib/buildgraph/rulenode.cpp @@ -195,7 +195,7 @@ void RuleNode::apply(const Logger &logger, } else { qCDebug(lcExec).noquote() << "prepare script does not need to run"; } - m_oldInputArtifacts = inputs; + m_oldInputArtifacts = allCompatibleInputs; product->topLevelProject()->buildData->setDirty(); } |