On Saturday, 13 April 2024 at 21:21:24 UTC, Richard (Rikki)
Andrew Cattermole wrote:
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
Another question how can one define a preprocessor var for a c
source from dub.json?
for instance: c source has #ifdef ORT_DLL_IMPORT
normally we do it like -D ORT_DLL_IMPORT