Hi,
how can I install a specific file type from a given folder while preserving
the folder hierarchy?
Example:
source-dir
|
+-- subdir1
| +--file1.h
| +--file1.cpp
|
+-- file2.h
+-- file2.cpp
should install to:
install-root
|
+-- include
|
+-- subdir1
| +--file1.h
|
+-- file2.h
The following snippet
Group {
prefix: "**/"
files : "*.h"
qbs.install : true
qbs.installDir : "include"
}
would just gather all .h files and copy them to 'include'. Creating a group
for every folder would be possible, but is cumbersome when it comes to large
folder hierarchies. Is there any generic solution for that?
Richard
_______________________________________________
QBS mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qbs