On Saturday, 20 March 2021 at 18:33:20 UTC, James Blachly wrote:
Chris: for one of my (D) libraries that also links in an .o
file that's built from C source, I have a makefile for the C
and call `make` during the dub build process.
It is not incredibly sophisticated, but works well for us. Here
is the dubfile with `preBuildCommands`:
https://github.com/blachlylab/intervaltree/blob/master/dub.json
James: Nice concrete example, thanks! My code is cross platform,
so I'll try to adapt what you have to a version that invokes
nmake.exe if run in a visual studio environment.
Take Care,