Applied fix to Dub (Was: ImportC in a Dub project )

Imperatorn johan_forsberg_86 at hotmail.com
Sun Oct 30 13:38:23 UTC 2022


On Sunday, 30 October 2022 at 12:46:10 UTC, Carsten Schlote wrote:
> It turned out, that the required changes to add support for C 
> files in Dub are really small. So I added a PR 
> (https://github.com/dlang/dub/pull/2521). There is also some 
> other PR (https://github.com/dlang/dub/pull/2270) releated to C 
> file support in Dub.
>
> [...]

Agreed, but don't forget about the .i extension.

Imo we could add a switch which enables something like your PR 
(include .c and .i) until we know what the default should be.


More information about the Digitalmars-d-learn mailing list