Re: [Qbs] Exporting libraries to link only for MinGW

2020-02-22 Thread Björn Schäpers
Am 22.02.2020 um 09:56 schrieb Richard Weickelt: You don't need a group here in the first place. Just cpp.dynamicLibraries: { var libs = []; if(qbs.toolchain.contains("mingw")) libs = libs.concat(["pthread", "ole32"] ) return libs; } Or to be more explicit: You **must** not

Re: [Qbs] Exporting libraries to link only for MinGW

2020-02-22 Thread Richard Weickelt
> You don't need a group here in the first place. Just > cpp.dynamicLibraries: { >var libs = []; >if(qbs.toolchain.contains("mingw")) >libs = libs.concat(["pthread", "ole32"] ) >return libs; > } Or to be more explicit: You **must** not use the Group item for this purpose. The

Re: [Qbs] Exporting libraries to link only for MinGW

2020-02-21 Thread NIkolai Marchenko
You don't need a group here in the first place. Just cpp.dynamicLibraries: { var libs = []; if(qbs.toolchain.contains("mingw")) libs = libs.concat(["pthread", "ole32"] ) return libs; } On Sat, Feb 22, 2020 at 12:17 AM Björn Schäpers wrote: > Hi, > > I'm trying to incorporate