Dub option for specifying importC include paths

jmh530 john.michael.hall at gmail.com
Thu Oct 2 18:49:51 UTC 2025


On Wednesday, 1 October 2025 at 23:03:10 UTC, jmh530 wrote:
> On Wednesday, 1 October 2025 at 19:02:26 UTC, Emmanuel wrote:
>> Actually planning to take this on for SAoC. I don't know how 
>> possible that would be.
>>
>> Thanks!
>
> I wouldn’t go too crazy. There’s a folder with simple examples 
> already [1]. I would just do something with a simple C function 
> that gets called in a D project (and the C function is in a 
> separate sub folder).
>
> [1] https://github.com/dlang/dub/tree/master/examples

As kinke pointed out on the issue, when a prior bug got fixed a 
test was added that covers this. I would suggest borrowing that 
for the example.


More information about the Digitalmars-d-learn mailing list