-
Notifications
You must be signed in to change notification settings - Fork 92
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
librepo.h: Change how project files are included #271
Conversation
Thank you, I understand the rationale for this change.
|
I agree.
I'm not aware of anything. The public headers should be referenced with the path. I'll update the pull request. |
Use path-reference in the public header, to avoid ambiguity for generic-like header files from other projects. Otherwise it would depend on the order of the include directories in the build time, which of the header file is picked.
It is not included by any public header. The other internal headers are not installed as well.
This may help with rebuild on change in the header files, having them properly tracked by the build scripts.
I updated the pull request and split the changes into three commits:
The last change might help the build scripts to properly detect changes in these files, but it's untested. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good!
Nice, thanks for the improvement! |
Use path-reference in the public header, to avoid ambiguity for generic-like header files from other projects. Otherwise it would depend on the order of the include directories in the build time, which of the header file is picked.