Adding headers to the installation.

This commit is contained in:
sergiotarxz 2022-07-18 03:15:47 +02:00
parent 33e61477aa
commit 1cd5b5d3b4
1 changed files with 40 additions and 9 deletions

View File

@ -13,9 +13,40 @@ sources = [
'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',
sources,
install : true,
include_directories: ['..', '.'],
)
install_headers(headers, subdir: 'elfspy')
pkg.generate(elfspylib)