Common makefile (gasp) stuff

Rikki Cattermole via Digitalmars-d digitalmars-d at puremagic.com
Wed Jan 14 18:02:24 PST 2015


On 15/01/2015 2:58 p.m., Mathias LANG wrote:
> On Thursday, 15 January 2015 at 01:48:29 UTC, Rikki Cattermole wrote:
>> Druntime and phobos now can be built and even more importantly you can
>> have druntime as a dependency to phobos. In fact it is.
>> Phobos supports being built as a dynamic library (there is a
>> configuration for for it).
>> So if you want to switch to dynamic library at any time its as simple
>> as adding:
>> "subConfigurations": {
>>     "phobos": "dynamicLibrary"
>> }
>> I'm pretty sure anyway.
>
> Thanks !
> Last time I checked, building dynamic library with dub was buggy. In
> addition, we can't have druntime has a dependency to phobos with dynamic
> library (yet). See
> https://github.com/D-Programming-Language/dub/blob/master/source/dub/generators/generator.d#L152
>
>
> But having the static version in is a good start :)

The configuration is there. Atleast I'm prepared!
Anyway static version is default, so as long as dynamic isn't advertised 
too much we're good.


More information about the Digitalmars-d mailing list