qbs build: More steps toward creating a "development installation".

Namely:
    - Install header files.
    - Install imports and modules.
    - Create modules from products and install them.

This is most of what we need. The main thing still left to do is
dealing with paths in Export items. These have to be translated
somehow. (Currently we only copy the Depends items out of the
Export items and ignore everything else.)

Change-Id: I12d49fa31d1c1e05bc77a0e0ce3ec9c78c27192a
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
Christian Kandeler
2016-06-08 17:10:04 +02:00
parent 44771d245b
commit f085cb2236
23 changed files with 2263 additions and 2047 deletions

View File

@@ -1,14 +1,19 @@
import qbs 1.0
QtcLibrary {
Project {
name: "Aggregation"
Depends { name: "Qt.core" }
cpp.defines: base.concat("AGGREGATION_LIBRARY")
QtcDevHeaders { }
files: [
"aggregate.cpp",
"aggregate.h",
"aggregation_global.h",
]
QtcLibrary {
Depends { name: "Qt.core" }
cpp.defines: base.concat("AGGREGATION_LIBRARY")
files: [
"aggregate.cpp",
"aggregate.h",
"aggregation_global.h",
]
}
}