diff options
author | Richard Weickelt <richard@weickelt.de> | 2023-10-10 22:48:04 +0200 |
---|---|---|
committer | Richard Weickelt <richard@weickelt.de> | 2023-10-16 10:41:07 +0000 |
commit | 7eee1c926779624106196125e21fe5c683fe1831 (patch) | |
tree | 2491c1874a6358150ac6cb1a6f4d1761dca9a8eb /src/lib/corelib/buildgraph | |
parent | 7793e84a5b692cfd61af06622db5241f8cd44ebe (diff) |
Remove dependency of SourceWildCards on ResolvedGroup
SourceWildCards had an unnecessary dependency on ResolvedGroup which
could be a historical relic. However, it is functionally independent and
can be useful in other contexts as well, for example wildcard project
references. We really do not want to duplicate the complicated wildcard
expansion code.
This patch is a first step in a refactoring series.
Task-number: QBS-1749
Change-Id: I2ce0e784d4668f7cee686cd4c2101aef3ce38eda
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/lib/corelib/buildgraph')
-rw-r--r-- | src/lib/corelib/buildgraph/buildgraphloader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/buildgraph/buildgraphloader.cpp b/src/lib/corelib/buildgraph/buildgraphloader.cpp index eae52864f..18287e39f 100644 --- a/src/lib/corelib/buildgraph/buildgraphloader.cpp +++ b/src/lib/corelib/buildgraph/buildgraphloader.cpp @@ -606,7 +606,7 @@ bool BuildGraphLoader::hasProductFileChanged(const std::vector<ResolvedProductPt }); if (!reExpansionRequired) continue; - const Set<QString> files = group->wildcards->expandPatterns(group, + const Set<QString> files = group->wildcards->expandPatterns(group->prefix, FileInfo::path(group->location.filePath()), product->topLevelProject()->buildDirectory); Set<QString> wcFiles; |