build(meson): switched almost all intermediate targets to shared libraries

This commit is contained in:
2025-04-30 11:44:53 -04:00
parent 591f62c88d
commit 91d66ea62e
8 changed files with 10 additions and 7 deletions

View File

@@ -8,7 +8,7 @@ config_headers = files(
) )
# Define the libconfig library so it can be linked against by other parts of the build system # Define the libconfig library so it can be linked against by other parts of the build system
libconfig = static_library('config', libconfig = library('config',
config_sources, config_sources,
include_directories: include_directories('public'), include_directories: include_directories('public'),
cpp_args: ['-fvisibility=default'], cpp_args: ['-fvisibility=default'],

View File

@@ -18,7 +18,7 @@ dependencies = [
macros_dep, macros_dep,
] ]
# Define the libconst library so it can be linked against by other parts of the build system # Define the libconst library so it can be linked against by other parts of the build system
libeos = static_library('eos', libeos = library('eos',
eos_sources, eos_sources,
include_directories: include_directories('public'), include_directories: include_directories('public'),
cpp_args: ['-fvisibility=default'], cpp_args: ['-fvisibility=default'],

View File

@@ -10,7 +10,7 @@ dependencies = [
mfem_dep mfem_dep
] ]
# Define the libmeshIO library so it can be linked against by other parts of the build system # Define the libmeshIO library so it can be linked against by other parts of the build system
libmeshIO = static_library('meshIO', libmeshIO = library('meshIO',
meshIO_sources, meshIO_sources,
include_directories: include_directories('public'), include_directories: include_directories('public'),
cpp_args: ['-fvisibility=default'], cpp_args: ['-fvisibility=default'],

View File

@@ -23,3 +23,6 @@ subdir('resource')
# Physics Libraries # Physics Libraries
subdir('network') subdir('network')
subdir('poly') subdir('poly')
# Python Bindings
subdir('python')

View File

@@ -19,7 +19,7 @@ dependencies = [
] ]
# Define the libnetwork library so it can be linked against by other parts of the build system # Define the libnetwork library so it can be linked against by other parts of the build system
libnetwork = static_library('network', libnetwork = library('network',
network_sources, network_sources,
include_directories: include_directories('public'), include_directories: include_directories('public'),
dependencies: dependencies, dependencies: dependencies,

View File

@@ -32,7 +32,7 @@ dependencies = [
types_dep, types_dep,
] ]
libpolyutils = static_library('polyutils', libpolyutils = library('polyutils',
polyutils_sources, polyutils_sources,
include_directories : include_directories('./public'), include_directories : include_directories('./public'),
cpp_args: ['-fvisibility=default'], cpp_args: ['-fvisibility=default'],

View File

@@ -35,7 +35,7 @@ dependencies = [
] ]
# Define the liblogger library so it can be linked against by other parts of the build system # Define the liblogger library so it can be linked against by other parts of the build system
libprobe = static_library('probe', libprobe = library('probe',
probe_sources, probe_sources,
include_directories: include_directories('public'), include_directories: include_directories('public'),
cpp_args: ['-fvisibility=default'], cpp_args: ['-fvisibility=default'],

View File

@@ -23,7 +23,7 @@ dependencies = [
libResourceHeader_dep = declare_dependency(include_directories: include_directories('public')) libResourceHeader_dep = declare_dependency(include_directories: include_directories('public'))
# Define the libresourceManager library so it can be linked against by other parts of the build system # Define the libresourceManager library so it can be linked against by other parts of the build system
libresourceManager = static_library('resourceManager', libresourceManager = library('resourceManager',
resourceManager_sources, resourceManager_sources,
include_directories: include_directories('public'), include_directories: include_directories('public'),
cpp_args: ['-fvisibility=default'], cpp_args: ['-fvisibility=default'],