ImportC "no include path set"
Lance Bachmeier
no at spam.net
Sat Jun 22 18:51:20 UTC 2024
On Saturday, 22 June 2024 at 10:47:42 UTC, bachmeier wrote:
> I don't normally use Dub for this reason (it takes longer for
> me to figure out how to create the dub.json than it's worth).
> I'd expect "dflags" to work, but I haven't tried, and I'm not
> sure how much of ImportC even works with GDC.
It doesn't seem to be documented, but there is a `cImportPaths`
argument, which presumably does what you want:
https://github.com/dlang/dub/blob/a8da51eb8a5485956622282f2339ec5a39c8c761/source/dub/recipe/json.d#L233
More information about the Digitalmars-d-learn
mailing list