diff --git a/build-config/meson.build b/build-config/meson.build index f7f6466..18e4720 100644 --- a/build-config/meson.build +++ b/build-config/meson.build @@ -5,3 +5,18 @@ subdir('yaml-cpp') subdir('quill') subdir('boost') subdir('opatIO') +subdir('mpi') +subdir('hypre') + +# Set the config file error handling options +configErr = get_option('config_error_handling') + +# build up any -D flags we need +commonCppArgs = [] +if configErr == 'warn' + commonCppArgs += ['-DCONFIG_WARN'] +elif configErr == 'harsh' + commonCppArgs += ['-DCONFIG_HARSH'] +endif + +add_project_arguments(commonCppArgs, language: 'cpp') \ No newline at end of file