This is a very basic wrapper implimentation currently. This is sufficient to lock the interface down so that other code can target it. However, internally there is just a "convert" function. Eventually we should rework the code itself to use the composition module more directly.
38 lines
852 B
Meson
38 lines
852 B
Meson
# Define the library
|
|
network_sources = files(
|
|
'private/network.cpp',
|
|
'private/approx8.cpp'
|
|
)
|
|
|
|
network_headers = files(
|
|
'public/network.h',
|
|
'public/approx8.h'
|
|
)
|
|
|
|
dependencies = [
|
|
boost_dep,
|
|
const_dep,
|
|
quill_dep,
|
|
mfem_dep,
|
|
config_dep,
|
|
probe_dep,
|
|
species_weight_dep,
|
|
composition_dep,
|
|
]
|
|
|
|
# Define the libnetwork library so it can be linked against by other parts of the build system
|
|
libnetwork = library('network',
|
|
network_sources,
|
|
include_directories: include_directories('public'),
|
|
dependencies: dependencies,
|
|
install : true)
|
|
|
|
network_dep = declare_dependency(
|
|
include_directories: include_directories('public'),
|
|
link_with: libnetwork,
|
|
sources: network_sources,
|
|
dependencies: dependencies,
|
|
)
|
|
|
|
# Make headers accessible
|
|
install_headers(network_headers, subdir : '4DSSE/network') |