On Monday, 2 February 2015 at 13:42:19 UTC, Vladimir Panteleev wrote:
On Monday, 2 February 2015 at 13:25:57 UTC, Mathias LANG wrote:
To be more specific, dub won't let you compile a project with multiple definition of a function. How is that a liability ?

You can't have more than one main() function.

Some packages contain more than one entry point (programs / executables).

In my case, my library allows selecting an entry point based on the nature of the program (console/GUI) and the platform. The program only imports one of these. Vibe does something similar, but it has only one entry point.


You can do this with dub. You selectively include or exclude files/directories on a per-configuration basis.

Overall - while you do have some valid complaints - you don't seems to know dub particularly well. Maybe you do, but it's not coming across.

Reply via email to