1
0
Fork 0
mirror of https://github.com/Neargye/magic_enum.git synced 2026-01-09 23:34:23 +00:00
magic_enum/test/meson.build
neargye 427a47394f * Remove MAGIC_ENUM_ENABLE_NONASCII
* Optimize template instantiations
* Remove auto is_flags
* Change flags API
2023-05-21 04:08:07 +04:00

19 lines
409 B
Meson

catch2_dep = declare_dependency(
include_directories: '3rdparty/Catch2'
)
test_files = {
'basic test' : files('test.cpp'),
'flags test' : files('test_flags.cpp'),
}
foreach test_name, test_src : test_files
test_exe = executable(
test_name.underscorify(),
test_src,
dependencies: [magic_enum_dep, catch2_dep]
)
test(test_name, test_exe)
endforeach