Neargye / magic_enum

Static reflection for enums (to string, from string, iteration) for modern C++, work with any enum type without any macro or boilerplate code
MIT License
4.76k stars 422 forks source link

Add better support for Yocto/PetaLinux in cmake file #360

Closed ShaharHD closed 3 months ago

ShaharHD commented 3 months ago

Added a new option of MAGIC_ENUM_OPT_INSTALL_PACKAGE_XML to allow disabling the package.xml file when use the repo in bitbake files.

As this is a header-only library, having the package.xml creates an un-needed artifact on the target rootfs.

MAGIC_ENUM_OPT_INSTALL_PACKAGE_XML is non-breaking and using MAGIC_ENUM_OPT_INSTALL as its default value.

Neargye commented 3 months ago

Thanks

ShaharHD commented 2 months ago

Thanks

Thank you for an awesome library. Makes so much easier to work with enums - should have been part of the C++ standard IMHO 👍

Any ETA on next release?