From the "it's a hacky workaround but it's what we've got" department: how to use dynamic libraries in dub, with GtkD as the example.

GtkD takes about 45MB on its own, and that means it can take a fair bit of time to build anything that depends on it -- even if it only uses a handful of symbols. Building it as a dynamic library can shrink compile times significantly.

An example of this strategy in use:

Reply via email to