[QBS] Install subdirectory tree

St├ęphane Fabry sf at xris.eu
Wed Jan 7 11:04:57 CET 2015


Hi,

I'd like to install some files and directories that form a directory tree.

Example:

Group{

         name:  "IMAGERs"

         prefix:  "IMAGERs/**/"

         files:  "*"

         qbs.install:  true

         qbs.installDir:  project.calibInstall  +  "/IMAGERs"

}
The imager directory has two subdirectories that contains files, after 
the install all files are mixed in IMAGER's and subdirectories are not 
created.
The only solution I have now is to make a group for each leaf subdirectory.

That could be difficult when there's a lot of them !

Do you have a solution ?

BR,

St├ęphane
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20150107/44a0908c/attachment.html>


More information about the Qbs mailing list