How to set include paths of a c source in dub when using importc
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Sat Apr 13 21:21:24 UTC 2024
On 14/04/2024 8:59 AM, Ferhat Kurtulmuş wrote:
>
> These don't work for me:
>
> "dflags": ["-Iinclude"]
>
> "importPaths": [
> "include"
> ],
>
> The importc docs do not help either.
Appears it hasn't been documented in new dub docs.
It is ``cSourcePaths`` and ``cImportPaths``.
https://github.com/dlang/dub-docs/issues/91
More information about the Digitalmars-d-learn
mailing list