mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
build: fix header installation paths
This commit is contained in:
@ -1,17 +1,33 @@
|
||||
libsysprof_headers += files([
|
||||
callgraph_headers = [
|
||||
'sp-callgraph-profile.h',
|
||||
])
|
||||
]
|
||||
|
||||
libsysprof_sources += files([
|
||||
callgraph_sources = [
|
||||
'sp-callgraph-profile-private.h',
|
||||
'sp-callgraph-profile.c',
|
||||
])
|
||||
]
|
||||
|
||||
libsysprof_headers += files(callgraph_headers)
|
||||
libsysprof_sources += files(callgraph_sources)
|
||||
|
||||
install_headers(callgraph_headers,
|
||||
subdir: join_paths(libsysprof_header_subdir, 'callgraph'))
|
||||
|
||||
|
||||
libsysprof_ui_headers += files([
|
||||
'sp-callgraph-view.h',
|
||||
])
|
||||
if get_option('enable_gtk')
|
||||
|
||||
libsysprof_ui_sources += files([
|
||||
'sp-callgraph-view.c',
|
||||
])
|
||||
callgraph_ui_headers = [
|
||||
'sp-callgraph-view.h',
|
||||
]
|
||||
|
||||
callgraph_ui_sources = [
|
||||
'sp-callgraph-view.c',
|
||||
]
|
||||
|
||||
libsysprof_ui_headers += files(callgraph_ui_headers)
|
||||
libsysprof_ui_sources += files(callgraph_ui_sources)
|
||||
|
||||
install_headers(callgraph_ui_headers,
|
||||
subdir: join_paths(libsysprof_header_subdir, 'callgraph'))
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user