DUB, link automatically right object for platform and archi
Basile B. via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Sep 1 11:01:19 PDT 2016
I've converted this section:
"configurations" : [
{
"name" : "nux32",
"dflags" : [
"objects/coff32/beaengine.o"
]
},
{
"name" : "nux64",
"dflags" : [
"objects/coff64/beaengine.o"
]
},
{
"name" : "win32",
"dflags" : [
"objects\\omf32\\beaengine.obj"
]
to:
"buildSettings" : {
"dflags-linux-x86" : ["objects/coff32/beaengine.o"],
"dflags-linux-x86_64" : ["objects/coff64/beaengine.o"],
"dflags-windows-x86" : ["objects\\omf32\\beaengine.obj"]
},
Because previously the right config could not be selected when
the package was used as dependency. But now the object is not
linked in the static library produced by the project.
What's wrong in my description ?
More information about the Digitalmars-d-learn
mailing list