On 2014-09-25 07:10, Jebbs wrote:

Ok, so the subject is a little misleading. I am planning a project that will be messing with sources and then invoke the compiler, but I want to be able to use it with dub. eg, all command line stuff is passed to the program and everything happens as usual. Is this possible to do with dub?

You can specify which compiler to using when building with the
--compiler flag: "dub build --compiler=ldc". Hmm, I actually don't know
if it expects a path to a binary or specific values, like "dmd", "ldc"
and so on.

/Jacob Carlborg