Dub packages: Best practices for windows support

Johannes Pfau via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jan 29 11:52:33 PST 2016


Am Fri, 29 Jan 2016 20:46:40 +0100
schrieb Johannes Pfau <nospam at example.com>:

>   DFLAGS="-m32mscoff" doesn't work with dub test as the dub test
>   command ignores the DFLAGS variable. I'd have to check whether it
>   works for applications, but then there's still no way to use the
>   correct cairo import library in cairoDs dub.json....

Should have mentioned DFLAGS is an environment in that example, e.g
using dub like this:

DFLAGS="-m32mscoff" dub run
DFLAGS="-m32mscoff" dub test


More information about the Digitalmars-d-learn mailing list