mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
This will provide better namespacing for the objects inflated from the document for various frame types. By creating real objects with real properties we give ourselves quite a bit of flexibility in the data filtering language coming forth.
46 lines
1.5 KiB
Meson
46 lines
1.5 KiB
Meson
libsysprof_analyze_public_sources = [
|
|
'sysprof-document.c',
|
|
'sysprof-capture-frame-object.c',
|
|
]
|
|
|
|
libsysprof_analyze_public_headers = [
|
|
'sysprof-analyze.h',
|
|
'sysprof-document.h',
|
|
'sysprof-capture-frame-object.h',
|
|
]
|
|
|
|
libsysprof_analyze_deps = [
|
|
dependency('gio-2.0', version: glib_req_version),
|
|
libsysprof_capture_deps,
|
|
]
|
|
|
|
libsysprof_analyze = library('sysprof-analyze',
|
|
libsysprof_analyze_public_sources,
|
|
include_directories: [include_directories('.'),
|
|
ipc_include_dirs,
|
|
libsysprof_capture_include_dirs],
|
|
dependencies: libsysprof_analyze_deps,
|
|
gnu_symbol_visibility: 'hidden',
|
|
version: '@0@.0.0'.format(soname_major_version),
|
|
darwin_versions: '@0@.0'.format(soname_major_version),
|
|
)
|
|
|
|
libsysprof_analyze_dep = declare_dependency(
|
|
link_with: libsysprof_analyze,
|
|
dependencies: libsysprof_analyze_deps,
|
|
include_directories: [include_directories('.'), libsysprof_capture_include_dirs],
|
|
)
|
|
meson.override_dependency('sysprof-analyze-@0@'.format(soname_major_version), libsysprof_analyze_dep)
|
|
|
|
pkgconfig.generate(libsysprof_analyze,
|
|
subdirs: [sysprof_header_subdir],
|
|
description: 'A library for processing and analyzing Sysprof captures',
|
|
install_dir: join_paths(get_option('libdir'), 'pkgconfig'),
|
|
requires: ['gio-2.0'],
|
|
variables: ['datadir=' + datadir_for_pc_file],
|
|
)
|
|
|
|
install_headers(libsysprof_analyze_public_headers, subdir: sysprof_header_subdir)
|
|
|
|
subdir('tests')
|