Dub option for specifying importC include paths

JEmmanuel emmankoko519 at gmaill.com
Thu Oct 2 23:31:53 UTC 2025


On Thursday, 2 October 2025 at 18:49:51 UTC, jmh530 wrote:
> 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.


Alright noted!



More information about the Digitalmars-d-learn mailing list