Is there a way to use x86 and x86_mscoff with dub simultaneously.

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 25 23:55:17 PDT 2017


On 2017-07-26 00:41, Sönke Ludwig wrote:

> What you can do is to create a configuration that only works for x86_64:
> 
>      name "myproject"
> 
>      configuration "library" {
>          platforms "x86_64"
>          targetType "library"
>          // ...
>      }
> 
> This will cause the configuration resolution to fail if the wrong 
> architecture is selected. The downside is that I think the error message 
> will not be very helpful currently (something like "could not resolve 
> configuration for myproject"), but that should be fixable.

It needs to work for 32bit as well. But for 32bit it would only work 
with COFF.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list