Use dub to create source lib and executables

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Sat Mar 4 21:31:09 UTC 2023


Yes dub was setup to cover the most common cases, but ignores when you 
have multiple outputs. Not ideal.

There is a PR to add build steps currently, which will help improve 
things, so there is work to make dub better at these less common use cases.

The simplest solution is to do one package per binary, then use a shell 
script to trigger them in succession, not great but a workable solution.


More information about the Digitalmars-d-learn mailing list