On Wed, 23 Jul 2014 15:39:23 +0200, Sönke Ludwig wrote:

Am 23.07.2014 15:13, schrieb John Colvin:

What is the best way to get a list - for a given configuration - of include directories, library directories, libraries, version flags etc...

I need to get this info to pass to another build system (celeriD)

dub describe (with the appropriate configuration/architecture flags).
The output is in JSON format, so it still needs to be transformed to
whatever celeriD needs. An alternative would be to write a "generator"
similar to the VisualD one, which directly outputs a celeriD compatible
build description.

dub describe doesn't give different information about dependencies when --config is changed. All that appears to change is the "configuration" field for the root package.

P.S. there's something really off with this text box in the forum, it expands downwards by a few pixels with every keypress, even just arrow keys.