build(libcomposition): brought working build system into libcomposition

This commit is contained in:
2025-06-21 11:33:27 -04:00
parent 58de341056
commit db88e308de
24 changed files with 424 additions and 76 deletions

View File

@@ -1,24 +1,5 @@
cmake = import('cmake')
subdir('mfem')
subdir('yaml-cpp')
subdir('quill')
subdir('boost')
subdir('opatIO')
subdir('mpi')
subdir('hypre')
subdir('pybind')
subdir('fourdst')
subdir('cppad')
# 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')