[QBS] Wildcard in Groups
Charley Bay
charleyb123 at gmail.com
Tue Aug 28 17:43:26 CEST 2012
Ruslan spaketh:
> Hi all,
>
> What is real reason for not to generate list of files in qbs files? Look
> at this:
>
> Group {
> pattern: "src/*.cpp"
> overrideTags: false
> }
>
> This one can be parsed by IDE as easy as Group with files property, but
> saves a lot of lines of code and makes qbs files more clear and simple.
> Also this one can simplify artwork installing, i.e. qbs uses the same
> pattern in qmake scripts for installing qbs modules/imports.
> Any ideas? If nobody is against, I would implement it.
>
Agree: Your file-glob would be quite convenient.
Further: I assert that the glob should be *implied*. You shouldn't need
*anything*, and it should be "assumed" that you want
"all-the-source-code-files".
In this sense, the "pattern" (if specified) is an
"override-of-the-default-which-is-everything".
Similarly, IMHO the "Group {}" should be *implied*, and if not present, you
*automatically* get what your example suggests.
(Too extreme, my suggestions?)
--charley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20120828/3412a6cd/attachment.html>
More information about the Qbs
mailing list