On Wednesday, 24 July 2013 at 12:24:26 UTC, Luís Marques wrote:
I have some old D code and I wanted to improve its build system: that code was using a .bat and shell script with dmd, manually listing all the .d files to be linked! Don't ask me why I didn't use at least a Makefile, I don't recall, this is quite old code.

What would you currently recommend to build a not very big D codebase?

(if you use just dmd / rdmd, to not depend on another tool, *how* do you use it?)

--
Luís

If code amount is relatively small (and building does not involve calling any external tools), I'd stick with rdmd. `rdmd --build-only <any dmd flags here> main.d` and let it figure out all imports.

Reply via email to