[QBS] Using 'cpp' module from Group item

Andrew Knight qt at panimo.net
Sun Jan 11 21:32:51 CET 2015


Hi,

On 01/11/2015 08:02 PM, Andrey Anpilogov wrote:
> Hi,
>
> Seems like condition doesn't work correct:
>
> Group {
>      condition: project.cpu.contains("NRF51822")
>      cpp.includePaths: ['dir1', 'dir2']
> }
>
> Qbs doesn't add 'dir1' and 'dir2' folders to compiler.
> Is it valid definition?

It looks like you want a Properties item instead. Groups apply to files 
within the Product, not the Product as a whole.

>
> Regards
>

-AK



More information about the Qbs mailing list