build(libcomposition): brought working build system into libcomposition
This commit is contained in:
2
build-config/fourdst/libconfig/meson.build
Normal file
2
build-config/fourdst/libconfig/meson.build
Normal file
@@ -0,0 +1,2 @@
|
||||
config_p = subproject('libconfig')
|
||||
config_dep = config_p.get_variable('config_dep')
|
||||
2
build-config/fourdst/libconstants/meson.build
Normal file
2
build-config/fourdst/libconstants/meson.build
Normal file
@@ -0,0 +1,2 @@
|
||||
const_p = subproject('libconstants')
|
||||
const_dep = const_p.get_variable('const_dep')
|
||||
6
build-config/fourdst/liblogging/meson.build
Normal file
6
build-config/fourdst/liblogging/meson.build
Normal file
@@ -0,0 +1,6 @@
|
||||
logging_p = subproject('liblogging')
|
||||
|
||||
logging_dep = logging_p.get_variable('logging_dep')
|
||||
quill_dep = logging_p.get_variable('quill_dep')
|
||||
|
||||
log_dep = [logging_dep, quill_dep]
|
||||
3
build-config/fourdst/meson.build
Normal file
3
build-config/fourdst/meson.build
Normal file
@@ -0,0 +1,3 @@
|
||||
subdir('libconstants')
|
||||
subdir('liblogging')
|
||||
subdir('libconfig')
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user