On 08/25/2016 01:11 AM, Andrzej Telszewski wrote:
> Is it possible to have multiple products, with common settings, in
> single qbs file?
>
> Say, something like:
>
> Project {
> Settings {
> cpp.warningLevel: "all"
> cpp.cxxLanguageVersion: "gnu99"
> }
>
> Product {
On 25/08/16 01:44, NIkolai Marchenko wrote:
yes, I meant a separate settings file. I do not know if it is possible
to do what you want in a single file.
Oh, I see. I'll do it with separate file then.
Thanks!
On Thu, Aug 25, 2016 at 2:31 AM, Andrzej Telszewski
mailto:atelszew...@gmail.com>>
yes, I meant a separate settings file. I do not know if it is possible to
do what you want in a single file.
On Thu, Aug 25, 2016 at 2:31 AM, Andrzej Telszewski
wrote:
> On 25/08/16 01:17, NIkolai Marchenko wrote:
>
>> Yes, you can.
>>
>> import CommonFile as Base
>> Base{
>> name: "product 1"
>
On 25/08/16 01:17, NIkolai Marchenko wrote:
Yes, you can.
import CommonFile as Base
Base{
name: "product 1"
}
Base{
name: "product 2"
}
etc
This:
import CommonFile as Base
gives me error:
error: import CommonFile not found
Unless by CommonFile you meant MY file with common settings?
But
Yes, you can.
import CommonFile as Base
Base{
name: "product 1"
}
Base{
name: "product 2"
}
etc
On Thu, Aug 25, 2016 at 2:11 AM, Andrzej Telszewski
wrote:
> Hi,
>
> Is it possible to have multiple products, with common settings, in single
> qbs file?
>
> Say, something like:
>
> Project {
>
Hi,
Is it possible to have multiple products, with common settings, in
single qbs file?
Say, something like:
Project {
Settings {
cpp.warningLevel: "all"
cpp.cxxLanguageVersion: "gnu99"
}
Product {
SomehowReference: Settings
name: "p1"
file