Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support installing headers in uhal properly #55

Open
ericonr opened this issue Oct 3, 2024 · 0 comments
Open

Support installing headers in uhal properly #55

ericonr opened this issue Oct 3, 2024 · 0 comments

Comments

@ericonr
Copy link
Member

ericonr commented Oct 3, 2024

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 lnls-dig/afc-epics-ioc#43 (comment)

ericonr added a commit to lnls-dig/afc-epics-ioc that referenced this issue Oct 4, 2024
This simplifies an eventual containerized build of afc-epics-ioc using
epics-in-docker, allowing the μHAL build script to simply install it
directly into system directories.

We should eventually stop requiring an -I flag for cases where the
headers are installed to default system locations. This is tracked by a
uhal issue [1].

[1] lnls-dig/uhal#55
ericonr added a commit to lnls-dig/afc-epics-ioc that referenced this issue Oct 4, 2024
This simplifies an eventual containerized build of afc-epics-ioc using
epics-in-docker, allowing the μHAL build script to simply install it
directly into system directories.

We should eventually stop requiring an -I flag for cases where the
headers are installed to default system locations. This is tracked by a
uhal issue [1].

[1] lnls-dig/uhal#55
ericonr added a commit to lnls-dig/afc-epics-ioc that referenced this issue Oct 4, 2024
This simplifies an eventual containerized build of afc-epics-ioc using
epics-in-docker, allowing the μHAL build script to simply install it
directly into system directories.

We should eventually stop requiring an -I flag for cases where the
headers are installed to default system locations. This is tracked by a
uhal issue [1].

[1] lnls-dig/uhal#55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant