On Wed, 23 Jul 2014 09:53:09 GMT, Sönke Ludwig wrote:

On Tue, 22 Jul 2014 19:40:40 GMT, Roderick Gibson wrote:

Is there a field for specifying the compiler to use in dub.json? I'd basically like to have separate configurations for compiling with dmd and gdc (because one is 64bit and the other 32) and I was wondering if this option is available. For now I'll just batch file it, but I was curious as I can't find anything.

This is something that is only controllable from the outside. So having a batch file that runs something like dub build --arch=x86_64 --compiler=GDC would be about the only solution so far.

If this turns out to be a more frequent need, we could think about adding a new feature for that - either something in dub.json, or maybe in a separate dub-build-list.json (or similar) file.

Makes sense, I figured it was kind of an uncommon use case. Thanks!