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,9 +1,9 @@
|
||||
libsysprof_headers += files([
|
||||
util_headers = [
|
||||
'sp-map-lookaside.h',
|
||||
'sp-selection.h',
|
||||
])
|
||||
]
|
||||
|
||||
libsysprof_sources += files([
|
||||
util_sources = [
|
||||
'binfile.c',
|
||||
'binfile.h',
|
||||
'demangle.cpp',
|
||||
@ -18,16 +18,25 @@ libsysprof_sources += files([
|
||||
'sp-selection.c',
|
||||
'stackstash.c',
|
||||
'stackstash.h',
|
||||
])
|
||||
]
|
||||
|
||||
libsysprof_ui_headers += files([
|
||||
libsysprof_headers += files(util_headers)
|
||||
libsysprof_sources += files(util_sources)
|
||||
|
||||
install_headers(util_headers,
|
||||
subdir: join_paths(libsysprof_header_subdir, 'util'))
|
||||
|
||||
|
||||
if get_option('enable_gtk')
|
||||
|
||||
util_ui_headers = [
|
||||
'sp-model-filter.h',
|
||||
'sp-process-model-item.h',
|
||||
'sp-process-model.h',
|
||||
'sp-zoom-manager.h',
|
||||
])
|
||||
]
|
||||
|
||||
libsysprof_ui_sources += files([
|
||||
util_ui_sources = [
|
||||
'pointcache.c',
|
||||
'pointcache.h',
|
||||
'sp-color-cycle.c',
|
||||
@ -40,4 +49,12 @@ libsysprof_ui_sources += files([
|
||||
'sp-zoom-manager.c',
|
||||
'stackstash.c',
|
||||
'stackstash.h',
|
||||
])
|
||||
]
|
||||
|
||||
libsysprof_ui_headers += files(util_ui_headers)
|
||||
libsysprof_ui_sources += files(util_ui_sources)
|
||||
|
||||
install_headers(util_ui_headers,
|
||||
subdir: join_paths(libsysprof_header_subdir, 'util'))
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user