[gsoc] DUB - Ideas
John Colvin
john.loughran.colvin at gmail.com
Fri Mar 1 14:28:54 UTC 2019
On Friday, 1 March 2019 at 14:16:17 UTC, Atila Neves wrote:
> 5. `dub describe` actually working, or, even better, an easy to
> use API to query the build. Did you know that the output of
> `dub describe -c unittest` doesn't have the string "-unittest"
> anywhere, much less in "dflags"? Now you do.
That is actually to some extent expected behaviour. -c unittest
only refers to the unittest configuration, not the unittest
*build*.
dub describe -c unittest -b unittest
will give you "unittests" under targets[0].buildSettings.options
Of course those options still need to be converted in to the
relevant compiler flags.
More information about the Digitalmars-d
mailing list