Skip to content

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

@JWCS

Description

@JWCS

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 )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions