How to package C headers? #21927
Unanswered
TheOnlySilverClaw
asked this question in
Questions and Answers
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Not sure whether it's a bug, missing documentation or me being blind, so I'm asking here:
Is there currently any way to make a V library package include C headers without the package user having to worry about those?
My assumption was, if I had a package like this:
I could include the header in lib.v like this:
That seems to work for compiling the library itself. But when I try to use it as a dependency, the depending project can't find the header. Is that intentional?
Beta Was this translation helpful? Give feedback.
All reactions