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 u
> 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
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
Hi,
I'm trying to incorporate Howard Hinnant's date library and he states
"mingw users: -lpthread and -lole32 are required"
So I tried
StaticLibrary {
files: ["date/include/date/*.h", "date/src/*.cpp"]
name: "date"
Depends { name: "cpp" }
cpp.cxxLanguageVer