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

Pollutes /usr/local/include install directory with too many headers #377

Closed
JWCS opened this issue Sep 4, 2024 · 1 comment
Closed

Pollutes /usr/local/include install directory with too many headers #377

JWCS opened this issue Sep 4, 2024 · 1 comment
Milestone

Comments

@JWCS
Copy link

JWCS commented Sep 4, 2024

I was starting to use this library, and I noticed that there's like 10x of magic_enum*.hpp files in the /usr/local/include directory on local install. Most other projects either install one singular header to that directory, or they install into a project-wrapping folder.
Would it be possible to reduce

/usr/local/include# ls magic_enum*
magic_enum.hpp             magic_enum_flags.hpp   magic_enum_iostream.hpp
magic_enum_all.hpp         magic_enum_format.hpp  magic_enum_switch.hpp
magic_enum_containers.hpp  magic_enum_fuse.hpp    magic_enum_utility.hpp

To:

magic_enum.hpp   # For backwards compatibility
magic_enum/
| - magic_enum.hpp
| - all.hpp
| - containers.hpp
....

? (Or something similar?)

(Note: I was locally installing this off of master, for the bugfix, and with patch #374, using cmake install )

@Neargye Neargye added this to the v0.9.7 milestone Sep 19, 2024
@Neargye
Copy link
Owner

Neargye commented Oct 14, 2024

Fixed in #374
@JWCS thanks for testing!

@Neargye Neargye closed this as completed Oct 14, 2024
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

2 participants