noobie question, dub or meson?

Chris Piker chris at hoopjump.com
Tue Mar 23 04:27:42 UTC 2021


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,



More information about the Digitalmars-d-learn mailing list