diff options
| author | Christian Kandeler <christian.kandeler@digia.com> | 2013-04-08 18:18:16 +0200 |
|---|---|---|
| committer | Joerg Bornemann <joerg.bornemann@digia.com> | 2013-04-12 14:19:12 +0200 |
| commit | 1d9c080428dcd5e8c1d08598d6542d87f1ca1819 (patch) | |
| tree | 38282acbb95c921595dffec93a6dd99aaa61c24f /src/lib/buildgraph/buildgraph.pri | |
| parent | f17fd5d56a758a28ef5da04b2be83ed558f7cba6 (diff) | |
| download | qbs-1d9c080428dcd5e8c1d08598d6542d87f1ca1819.tar.gz | |
Remove structural redundancy in project and product classes.
We had two project classes, each holding a list of products
that was structurally identical, except that no BuildProduct
object existed for a disabled ResolvedProduct. The same kind
of duplication also happened for product dependencies.
This patch gets rid of these parallel structures. BuildProject
and BuildProduct are largely being demoted to data holders and are
aggregated by ResolvedProject and ResolvedProduct, respectively.
The resulting project structure should be easier to understand
and maintain.
Change-Id: I68beef60b9e0d62258f6a8337c9015864e18bd80
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/lib/buildgraph/buildgraph.pri')
| -rw-r--r-- | src/lib/buildgraph/buildgraph.pri | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/buildgraph/buildgraph.pri b/src/lib/buildgraph/buildgraph.pri index 80d10d659..d33e53861 100644 --- a/src/lib/buildgraph/buildgraph.pri +++ b/src/lib/buildgraph/buildgraph.pri @@ -18,8 +18,8 @@ SOURCES += \ $$PWD/productinstaller.cpp \ $$PWD/cycledetector.cpp \ $$PWD/rulesevaluationcontext.cpp \ - $$PWD/buildproduct.cpp \ - $$PWD/buildproject.cpp \ + $$PWD/productbuilddata.cpp \ + $$PWD/projectbuilddata.cpp \ $$PWD/rulesapplicator.cpp \ $$PWD/timestampsupdater.cpp @@ -44,8 +44,8 @@ HEADERS += \ $$PWD/cycledetector.h \ $$PWD/forward_decls.h \ $$PWD/rulesevaluationcontext.h \ - $$PWD/buildproduct.h \ - $$PWD/buildproject.h \ + $$PWD/productbuilddata.h \ + $$PWD/projectbuilddata.h \ $$PWD/rulesapplicator.h \ $$PWD/timestampsupdater.h |
