lnls-dig / uhal

HAL for LNLS's μTCA platform
https://lnls-dig.github.io/uhal/
GNU General Public License v3.0
0 stars 1 forks source link

Support installing headers in `uhal` properly #55

Open ericonr opened 2 weeks ago

ericonr commented 2 weeks ago

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 <uhal/...> 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

This problem was called out in https://github.com/lnls-dig/afc-epics-ioc/pull/43#discussion_r1786241681