1
0
Fork 0
mirror of https://github.com/Neargye/magic_enum.git synced 2026-01-10 23:44:29 +00:00

fixed meson build for the tests (#275)

This commit is contained in:
Tyler 2023-05-30 04:29:52 -04:00 committed by GitHub
parent 6304edd7f6
commit 930bcf0ba2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,8 @@
catch2_dep = declare_dependency(
include_directories: '3rdparty/Catch2'
)
catch2_dep = declare_dependency(include_directories: '3rdparty/Catch2/include')
test_files = {
'basic test' : files('test.cpp'),
'flags test' : files('test_flags.cpp'),
'basic test': files('test.cpp'),
'flags test': files('test_flags.cpp'),
}
foreach test_name, test_src : test_files
@ -12,7 +10,7 @@ foreach test_name, test_src : test_files
test_name.underscorify(),
test_src,
dependencies: [magic_enum_dep, catch2_dep]
dependencies: [magic_enum_dep, catch2_dep],
)
test(test_name, test_exe)