EOS code updated to make use of composition module. This is part of the larger change to change all composition handling to use the composition module. Note that the current implimentation is a bit hacky since it simply copies back and forth to the alredy used HELMEOSInput and HELMEOSOutput structs. In furture this can be more tightly connected to avoid extra copies.
37 lines
829 B
Meson
37 lines
829 B
Meson
# Define the library
|
|
eos_sources = files(
|
|
'private/helm.cpp',
|
|
'private/EOSio.cpp',
|
|
'private/EOS.cpp'
|
|
)
|
|
|
|
eos_headers = files(
|
|
'public/helm.h',
|
|
'public/EOSio.h',
|
|
'public/EOS.h'
|
|
)
|
|
|
|
dependencies = [
|
|
composition_dep,
|
|
const_dep,
|
|
quill_dep,
|
|
probe_dep,
|
|
config_dep,
|
|
mfem_dep,
|
|
macros_dep,
|
|
]
|
|
# Define the libconst library so it can be linked against by other parts of the build system
|
|
libeos = library('eos',
|
|
eos_sources,
|
|
include_directories: include_directories('public'),
|
|
cpp_args: ['-fvisibility=default'],
|
|
dependencies: dependencies,
|
|
install : true)
|
|
|
|
eos_dep = declare_dependency(
|
|
include_directories: include_directories('public'),
|
|
link_with: libeos,
|
|
dependencies: dependencies
|
|
)
|
|
# Make headers accessible
|
|
install_headers(eos_headers, subdir : '4DSSE/eos') |