On 02-Jan-15 14:38, Marcel Mulder wrote:

[...]
>> I can also get this to compile by adding Depends { name: “cpp”} to the 
>> product but than it does not use my compiler setting which I need for my ARM 
>> cortex controller.
>> I few question raises:
>>
>> 1. Is there another way of dealing with defining the compile option in one 
>> qbs file and and define include paths and source files in another abs file?

You could use inheritance to define products with special properties.
Qt Creator or qbs itself are good examples for doing things like this.

>> 2. Is it an idea that if you depend on a product the files defined in the 
>> sub product are added the the files list of the product which depends on it? 
>> Just as the include path is added to the compile options.

Sounds like QBS-59.


BR,

Joerg
_______________________________________________
QBS mailing list
QBS@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qbs

Reply via email to