Re: [Qbs] Products with Space in Name

2020-06-26 Thread Björn Schäpers
Am 26.06.2020 um 13:42 schrieb Christian Kandeler: On Fri, 26 Jun 2020 13:14:11 +0200 Björn Schäpers wrote: DynamicLibrary { name: "FooBar" } CppApplication { Depends { name: "cpp" } Depends { name: "FooBar" } cpp.defines = ["FOO_PATH=\"" + FooBar.buildDirectory + "\""]

Re: [Qbs] Products with Space in Name

2020-06-26 Thread Christian Kandeler
On Fri, 26 Jun 2020 13:14:11 +0200 Björn Schäpers wrote: > DynamicLibrary { > name: "FooBar" > } > > CppApplication { > Depends { name: "cpp" } > Depends { name: "FooBar" } > cpp.defines = ["FOO_PATH=\"" + FooBar.buildDirectory + "\""] Eww... This works? You cannot rely on

[Qbs] Products with Space in Name

2020-06-26 Thread Björn Schäpers
Hi, I have a lot of products which have spaces in their name. Until now everything was fine, but now I want to access the property of one of my dependencies. How to do that with a space in the name, or should spaces in the name be banned completely? Works: DynamicLibrary { name: