Qbs: Move ProductNode setup into QbsNodeTreeBuilder

Move closer to a setup where the project tree API can change.

This patch also makes sure "Generated files" will be below the
product file of each product and above any Groups/folders/files.

Change-Id: I728289372d40b809105f55adbe50fd424b19e0a0
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Tobias Hunger
2017-02-20 10:59:58 +01:00
parent 7b3db8ee1d
commit b6b7605357
4 changed files with 68 additions and 99 deletions

View File

@@ -43,7 +43,7 @@ public:
static QbsGroupNode *buildGroupNodeTree(const qbs::GroupData &grp, const QString &productPath,
bool productIsEnabled);
static void setupArtifacts(QbsBaseProjectNode *node, const QList<qbs::ArtifactData> &artifacts);
static QbsProductNode *buildProductNodeTree(const qbs::Project &project, const qbs::ProductData &prd);
};
} // namespace Internal