dub to create multiple executables from one source directory?
Sönke Ludwig via Digitalmars-d
digitalmars-d at puremagic.com
Mon Dec 19 04:36:13 PST 2016
Am 19.12.2016 um 11:24 schrieb biocyberman:
> Hi
> I am learning D and dub, and playing with this repository:
> https://github.com/biod/BioD
> The whole repo itself and be compiled with `dub build` command. How
> write dub.json under `examples` directory and compile every d source
> file in there?
The cleanest way would be to make each example a single file package:
http://code.dlang.org/getting_started#single-file-packages
More information about the Digitalmars-d
mailing list