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.99k stars 445 forks source link

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

Closed ShaharHD closed 5 months ago

ShaharHD commented 5 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 5 months ago

Thanks

ShaharHD commented 5 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?