mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
libsysprof-analyze: build static library for testing internals
Otherwise we can't test our private API which very much will need it to ensure correctness.
This commit is contained in:
@ -62,13 +62,27 @@ libsysprof_analyze_deps = [
|
|||||||
libsysprof_capture_dep,
|
libsysprof_capture_dep,
|
||||||
]
|
]
|
||||||
|
|
||||||
libsysprof_analyze = library('sysprof-analyze-@0@'.format(soname_major_version),
|
libsysprof_analyze_static = static_library(
|
||||||
libsysprof_analyze_public_sources +
|
'sysprof-analyze-@0@'.format(soname_major_version),
|
||||||
libsysprof_analyze_private_sources,
|
libsysprof_analyze_public_sources +
|
||||||
|
libsysprof_analyze_private_sources,
|
||||||
|
|
||||||
include_directories: [include_directories('.'),
|
include_directories: [include_directories('.'),
|
||||||
ipc_include_dirs,
|
ipc_include_dirs,
|
||||||
libsysprof_capture_include_dirs],
|
libsysprof_capture_include_dirs],
|
||||||
dependencies: libsysprof_analyze_deps,
|
dependencies: libsysprof_analyze_deps,
|
||||||
|
gnu_symbol_visibility: 'hidden',
|
||||||
|
)
|
||||||
|
|
||||||
|
libsysprof_analyze_static_dep = declare_dependency(
|
||||||
|
link_with: libsysprof_analyze_static,
|
||||||
|
dependencies: libsysprof_analyze_deps,
|
||||||
|
include_directories: [include_directories('.'),
|
||||||
|
libsysprof_capture_include_dirs],
|
||||||
|
)
|
||||||
|
|
||||||
|
libsysprof_analyze = library('sysprof-analyze-@0@'.format(soname_major_version),
|
||||||
|
dependencies: [libsysprof_analyze_static_dep],
|
||||||
gnu_symbol_visibility: 'hidden',
|
gnu_symbol_visibility: 'hidden',
|
||||||
version: '@0@.0.0'.format(soname_major_version),
|
version: '@0@.0.0'.format(soname_major_version),
|
||||||
darwin_versions: '@0@.0'.format(soname_major_version),
|
darwin_versions: '@0@.0'.format(soname_major_version),
|
||||||
|
|||||||
Reference in New Issue
Block a user