Files
stroid/tests/meson.build
Emily Boudreaux a0421d5ddc feat(mesh): non conforming vacuum
stroid can now generate non uniformly refined vacuum meshes. Note we still enforce that the stellar domain is fully conforming.
2026-09-09 12:39:27 -04:00

33 lines
787 B
Meson

gtest_dep = dependency('gtest', main: true, required : true)
gtest_main = dependency('gtest_main', required: true)
gtest_nomain_dep = dependency('gtest', main: false, required : true)
threads_dep = dependency('threads')
test_sources = [
'stroidTest.cpp',
'nonconformingTest.cpp',
'visualizationTest.cpp'
]
foreach test_file : test_sources
exe_name = test_file.split('.')[0]
test_exe = executable(
exe_name,
test_file,
dependencies: [
threads_dep,
stroid_dep,
gtest_dep,
gtest_main
],
)
test(
exe_name,
test_exe,
env: ['MESON_SOURCE_ROOT=' + meson.project_source_root(), 'MESON_BUILD_ROOT=' + meson.project_build_root()])
endforeach
subdir('sandbox')