build(meson): switched almost all intermediate targets to shared libraries
This commit is contained in:
@@ -8,7 +8,7 @@ config_headers = files(
|
||||
)
|
||||
|
||||
# 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,
|
||||
include_directories: include_directories('public'),
|
||||
cpp_args: ['-fvisibility=default'],
|
||||
|
||||
@@ -18,7 +18,7 @@ dependencies = [
|
||||
macros_dep,
|
||||
]
|
||||
# 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,
|
||||
include_directories: include_directories('public'),
|
||||
cpp_args: ['-fvisibility=default'],
|
||||
|
||||
@@ -10,7 +10,7 @@ dependencies = [
|
||||
mfem_dep
|
||||
]
|
||||
# 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,
|
||||
include_directories: include_directories('public'),
|
||||
cpp_args: ['-fvisibility=default'],
|
||||
|
||||
@@ -23,3 +23,6 @@ subdir('resource')
|
||||
# Physics Libraries
|
||||
subdir('network')
|
||||
subdir('poly')
|
||||
|
||||
# Python Bindings
|
||||
subdir('python')
|
||||
|
||||
@@ -19,7 +19,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
# 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,
|
||||
include_directories: include_directories('public'),
|
||||
dependencies: dependencies,
|
||||
|
||||
@@ -32,7 +32,7 @@ dependencies = [
|
||||
types_dep,
|
||||
]
|
||||
|
||||
libpolyutils = static_library('polyutils',
|
||||
libpolyutils = library('polyutils',
|
||||
polyutils_sources,
|
||||
include_directories : include_directories('./public'),
|
||||
cpp_args: ['-fvisibility=default'],
|
||||
|
||||
@@ -35,7 +35,7 @@ dependencies = [
|
||||
]
|
||||
|
||||
# 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,
|
||||
include_directories: include_directories('public'),
|
||||
cpp_args: ['-fvisibility=default'],
|
||||
|
||||
@@ -23,7 +23,7 @@ dependencies = [
|
||||
|
||||
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
|
||||
libresourceManager = static_library('resourceManager',
|
||||
libresourceManager = library('resourceManager',
|
||||
resourceManager_sources,
|
||||
include_directories: include_directories('public'),
|
||||
cpp_args: ['-fvisibility=default'],
|
||||
|
||||
Reference in New Issue
Block a user