Dub generates a library file that is larger in size than the one built on command line.

Ivan Trombley itrombley at dot-borg.org
Sun Dec 17 04:20:46 UTC 2017


On Sunday, 17 December 2017 at 02:42:44 UTC, Venkat wrote:
> dub build --vverbose
>
> That is the command I used. Would it be right to assume that -g 
> is being added because --vverbose ? The reason I ask is the 
> file size is about the same when I run the below command.
>
> dub build

You need to add "--build=release", otherwise dub will build debug 
by default.


More information about the Digitalmars-d-learn mailing list