if get_option('build_tests') # subdir('discritization') # # test_include_dir = include_directories('include') # # catch2_dep = dependency('Catch2', required:true) # Stroid exchanges MFEM and standard-library objects with the sandboxes. # Always build it against the parent's MFEM and C++ ABI, never an unrelated # installed archive (even when pkg-config reports one). stroid_project = subproject('stroid', default_options: [ 'build_tests=false', 'build_tools=false', 'build_python=false', 'pkg_config=false', ]) stroid_dep = stroid_project.get_variable('stroid_dep') # # test_sources = discretization_test_sources # executable('serif_tests', test_sources, dependencies: [serif_dep, catch2_dep, stroid_dep], include_directories: test_include_dir) subdir('sandbox') endif