Reggae binary backend: build your project with a D compiled executable

Kagamin via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sun Jun 7 05:03:19 PDT 2015


The interface can follow that of vibe:
--- build.d ---
import std.experimental.build;

Build myBuild(){ ... }

mixin BuildMain!(myBuild);
---

Then
$ rdmd build.d
  - compile and run the script, which builds the project by default
$ rdmd build.d -ninja
  - the script run with -ninja switch only generates ninja scipt
$ rdmd build.d -make
  - same, but generates make script
$ rdmd --build-only build.d
  - compiles the script, which can then be run with whatever 
switches you want


More information about the Digitalmars-d-announce mailing list