Adding headers to the installation.
This commit is contained in:
parent
33e61477aa
commit
1cd5b5d3b4
49
meson.build
49
meson.build
|
@ -2,15 +2,45 @@ project('me.sergiotarxz.elfspy', 'cpp')
|
|||
pkg = import('pkgconfig')
|
||||
|
||||
sources = [
|
||||
'Call.cpp',
|
||||
'Report.cpp',
|
||||
'ELFInfo.cpp',
|
||||
'SPY.cpp',
|
||||
'Error.cpp',
|
||||
'SectionHeader.cpp',
|
||||
'GOTEntry.cpp',
|
||||
'Fail.cpp',
|
||||
'MFile.cpp',
|
||||
'Call.cpp',
|
||||
'Report.cpp',
|
||||
'ELFInfo.cpp',
|
||||
'SPY.cpp',
|
||||
'Error.cpp',
|
||||
'SectionHeader.cpp',
|
||||
'GOTEntry.cpp',
|
||||
'Fail.cpp',
|
||||
'MFile.cpp',
|
||||
]
|
||||
|
||||
headers = [
|
||||
'./Capture.h',
|
||||
'./HookImpl.h',
|
||||
'./Thunk.h',
|
||||
'./MFile.h',
|
||||
'./Lambda.h',
|
||||
'./Method.h',
|
||||
'./Profiler.h',
|
||||
'./GOTEntry.h',
|
||||
'./MethodInfo.h',
|
||||
'./Section.h',
|
||||
'./ELFObject.h',
|
||||
'./Call.h',
|
||||
'./SectionHeader.h',
|
||||
'./Variadic.h',
|
||||
'./MethodPointer.h',
|
||||
'./Fail.h',
|
||||
'./Result.h',
|
||||
'./ThunkHandle.h',
|
||||
'./Report.h',
|
||||
'./SPY.h',
|
||||
'./Fake.h',
|
||||
'./Error.h',
|
||||
'./Hook.h',
|
||||
'./ELFInfo.h',
|
||||
'./Function.h',
|
||||
'./HookBase.h',
|
||||
'./Arg.h',
|
||||
]
|
||||
|
||||
elfspylib = library('elfspy',
|
||||
|
@ -18,4 +48,5 @@ elfspylib = library('elfspy',
|
|||
install : true,
|
||||
include_directories: ['..', '.'],
|
||||
)
|
||||
install_headers(headers, subdir: 'elfspy')
|
||||
pkg.generate(elfspylib)
|
||||
|
|
Loading…
Reference in New Issue