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

Move include/ to include/ppplugin/ #15

Merged
merged 5 commits into from
Nov 26, 2024
Merged

Move include/ to include/ppplugin/ #15

merged 5 commits into from
Nov 26, 2024

Conversation

taminob
Copy link
Owner

@taminob taminob commented Nov 26, 2024

This change allows for the correct installation of the header files in include/ppplugin/ instead of directly in e.g. /usr/include/.

This is necessary to avoid users of the library having to add
include/ppplugin/ to the include path which may lead to confusing bugs
with common header names.
An alternative would be using a symlink include/ppplugin/ pointing to
include/, but a circular symlink may cause issues in some obscure build
system.
@taminob taminob added bug Something isn't working enhancement New feature or request labels Nov 26, 2024
@taminob taminob self-assigned this Nov 26, 2024
@taminob taminob force-pushed the bugfix/move-include-dir branch from ce3647a to 62a8123 Compare November 26, 2024 22:27
If a simple "if" is used instead, the generated cmake target files will
include the fmt dependency no matter what the surrounding "if" is
evaluated to.
With the generator expression, cmake can detect on generation of the
files if the dependency should be included or not.
@taminob taminob force-pushed the bugfix/move-include-dir branch from 62a8123 to 812be55 Compare November 26, 2024 22:31
@taminob taminob merged commit ae9dd9d into main Nov 26, 2024
9 checks passed
@taminob taminob deleted the bugfix/move-include-dir branch November 26, 2024 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant