A little DUB question
ponce
contact at g3m3sfrommars.fr
Tue Dec 31 02:42:34 PST 2013
On Tuesday, 31 December 2013 at 10:35:46 UTC, thedeemon wrote:
> I've missed all the DUB discussions here and couldn't find the
> answer to my question in the docs, so here it is, very simple:
> I've got an app with one dependency stated in package.json as
> "dependencies": {
> "pegged": "~master"
> }
> When I build my app with
> dub build --build=release
> the app itself gets compiled in release mode, but the library
> it depends on (in this case Pegged) gets compiled in Debug, so
> the binary ends up 2-3 times larger than if I build everything
> myself without DUB.
> What is the right way to build everything in release using DUB
> here?
Looks like a bug. In the meantime you can compile combined.
$ dub --build=release --combined
More information about the Digitalmars-d-learn
mailing list