ImportC "no include path set"

mw mingwu at gmail.com
Fri Jun 21 17:40:39 UTC 2024


On Monday, 6 February 2023 at 14:35:53 UTC, bachmeier wrote:
> On Monday, 6 February 2023 at 06:55:02 UTC, Elfstone wrote:
>
>> So how am I supposed to set the include path?
>
> https://dlang.org/spec/importc.html#preprocessor
>
>> The -Ppreprocessorflag switch passes preprocessorflag to the 
>> preprocessor.
>
> So if you normally use `-I/foo`, you'd add `-P-I/foo`.

How to do this in the dub.json file? and work across DMD/LDC/GDC?

Thanks.


More information about the Digitalmars-d-learn mailing list