On Mon, Mar 23, 2015 at 14:25:22 +0000, Bruno Medeiros via Digitalmars-d-announce wrote: > Yes - use DUB sub-packages.
Ah, had missed this. > > Different flags to different source files? > > What dicebot said. > That looks like an invalid, abstraction-breaking thing to do Not all flags are -fversion or -I flags. > > Running a Python script to generate D code? > > Yes, in DUB you can run arbitrary external commands before and after the > D sources compilation. But not in between? Basically, can you have a tool written in D built with the project and then used to generate code in the same project? --Ben