2025-02-21 10:30:59 -05:00
|
|
|
# Define the library
|
2025-02-23 11:26:41 -05:00
|
|
|
probe_sources = files(
|
|
|
|
|
'private/probe.cpp',
|
2025-02-21 10:30:59 -05:00
|
|
|
)
|
|
|
|
|
|
2025-02-23 11:26:41 -05:00
|
|
|
probe_headers = files(
|
|
|
|
|
'public/probe.h'
|
2025-02-21 10:30:59 -05:00
|
|
|
)
|
|
|
|
|
|
2025-03-24 12:59:43 -04:00
|
|
|
dependencies = [
|
|
|
|
|
config_dep,
|
|
|
|
|
mfem_dep,
|
|
|
|
|
quill_dep
|
|
|
|
|
]
|
|
|
|
|
|
2025-02-21 10:30:59 -05:00
|
|
|
# Define the liblogger library so it can be linked against by other parts of the build system
|
2025-02-23 11:26:41 -05:00
|
|
|
libprobe = static_library('probe',
|
|
|
|
|
probe_sources,
|
2025-02-21 10:30:59 -05:00
|
|
|
include_directories: include_directories('public'),
|
|
|
|
|
cpp_args: ['-fvisibility=default'],
|
2025-02-23 11:26:41 -05:00
|
|
|
install : true,
|
2025-03-24 12:59:43 -04:00
|
|
|
dependencies: dependencies
|
2025-02-23 11:26:41 -05:00
|
|
|
)
|
2025-02-21 10:30:59 -05:00
|
|
|
|
2025-02-23 11:26:41 -05:00
|
|
|
probe_dep = declare_dependency(
|
2025-02-21 10:30:59 -05:00
|
|
|
include_directories: include_directories('public'),
|
2025-02-23 11:26:41 -05:00
|
|
|
link_with: libprobe,
|
2025-03-24 12:59:43 -04:00
|
|
|
dependencies: dependencies
|
2025-02-23 11:26:41 -05:00
|
|
|
)
|