Files
stroid/build-config/mfem/meson.build

17 lines
462 B
Meson
Raw Normal View History

2026-01-27 07:18:18 -05:00
cmake = import('cmake')
mfem_cmake_options = cmake.subproject_options()
mfem_cmake_options.add_cmake_defines({
'MFEM_ENABLE_EXAMPLES': 'OFF',
'MFEM_ENABLE_TESTING': 'OFF',
'MFEM_ENABLE_MINIAPPS': 'OFF',
'MFEM_USE_BENCMARK': 'OFF',
2026-01-31 10:39:55 -05:00
'BUILD_SHARED_LIBS': 'OFF',
'BUILD_STATIC_LIBS': 'ON',
2026-01-27 07:18:18 -05:00
})
2026-01-31 10:39:55 -05:00
mfem_cmake_options.set_install(true)
2026-01-27 07:18:18 -05:00
mfem_sp = cmake.subproject(
'mfem',
options: mfem_cmake_options)
mfem_dep = mfem_sp.dependency('mfem')