Support installing headers in `uhal` properly
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Currently, library users need to use `-I${include_dir}/uhal` to be able to include library headers.
They should be able to omit any `-I` flag if the headers are installed in a default system header. This means using `#include ` in public headers and client code. For this issue, the relevant part is fixing public headers.
A good example of how to do it (which saves us the trouble of listing header files, too!) comes from [wlroots](https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/ab118042ea393f29ca8907d269370dd8952d5a35/include/meson.build)
This problem was called out in https://github.com/lnls-dig/afc-epics-ioc/pull/43#discussion_r1786241681
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect the Meson installation configuration and the public headers, using the linked wlroots example as a reference. Verify which public includes currently require the uhal-specific include path, then confirm that installed public headers and client code can use without an extra -I flag.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100