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

meson: add options and tests #255

Closed v1993 closed 1 year ago

v1993 commented 1 year ago

Allows to enable flags from meson instead of relying on defines. Also support building/running tests from meson.

Neargye commented 1 year ago

Could you add a short description of the meson to the readme? I myself do not use this build system and do not even know what to write.

v1993 commented 1 year ago

Not really sure what to write about it... Meson projects are most likely to use this via meson's wrapdb. Maybe simply add a badge like you do for vcpkg and the like? Something like

Meson wrap

Neargye commented 1 year ago

yes, I think it will ok.

Neargye commented 1 year ago

Thanks!