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 some header files from include/detail subdir to prevent compilation errors in non edm builds #98

Merged
merged 3 commits into from
Mar 17, 2025

Conversation

SebaLukas
Copy link
Collaborator

Describe your changes

Move fsm.hpp & sha_hash.hpp from include/detail subdir to prevent compilation errors in non edm build envs

Issue ticket number and link

#97

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have made corresponding changes to the documentation
  • I read the contribution documentation and made sure that my changes meet its requirements

…pilation errors in non edm build envs

Signed-off-by: Sebastian Lukas <sebastian.lukas@pionix.de>
Signed-off-by: Sebastian Lukas <sebastian.lukas@pionix.de>
Copy link
Contributor

@AssemblyJohn AssemblyJohn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is another option, do we really want those headers to include from the 'detail'? For the test case it looks a bit weird to be required during an install. Can't tests be disabled on a target when we are installiing?

However for the other non-test cases, maybe forward declare & use unique pointers? Or that would be bad design?

@SebaLukas SebaLukas merged commit 3f9cc0b into main Mar 17, 2025
8 checks passed
@SebaLukas SebaLukas deleted the fix/missing-header-file-after-install branch March 17, 2025 09:28
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

Successfully merging this pull request may close these issues.

/include/detail is excluded from installation but is included by /include/iso15118/session/iso.hpp
2 participants