mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-31 15:28:21 -04:00
Add Meson buildsystem
This allows UEFIExtract to build on a greater variety of targets and more importantly allows us to build with the system-defined hardening protections present in enterprise distributions.
This commit is contained in:
parent
7695927eec
commit
eef00f73a4
4 changed files with 82 additions and 0 deletions
41
common/meson.build
Normal file
41
common/meson.build
Normal file
|
@ -0,0 +1,41 @@
|
|||
lzma = static_library('lzma',
|
||||
sources: [
|
||||
'LZMA/LzmaDecompress.c',
|
||||
'LZMA/SDK/C/Bra86.c',
|
||||
'LZMA/SDK/C/LzmaDec.c',
|
||||
'Tiano/EfiTianoDecompress.c',
|
||||
],
|
||||
)
|
||||
|
||||
bstrlib = static_library('bstrlib',
|
||||
sources: [
|
||||
'bstrlib/bstrlib.c',
|
||||
'bstrlib/bstrwrap.cpp',
|
||||
],
|
||||
)
|
||||
|
||||
uefitoolcommon = static_library('uefitoolcommon',
|
||||
sources: [
|
||||
'guiddatabase.cpp',
|
||||
'types.cpp',
|
||||
'descriptor.cpp',
|
||||
'ffs.cpp',
|
||||
'nvram.cpp',
|
||||
'nvramparser.cpp',
|
||||
'meparser.cpp',
|
||||
'ffsparser.cpp',
|
||||
'ffsreport.cpp',
|
||||
'peimage.cpp',
|
||||
'treeitem.cpp',
|
||||
'treemodel.cpp',
|
||||
'utility.cpp',
|
||||
'ustring.cpp',
|
||||
'sha256.c',
|
||||
],
|
||||
c_args: [
|
||||
'-DU_ENABLE_NVRAM_PARSING_SUPPORT',
|
||||
'-DU_ENABLE_ME_PARSING_SUPPORT',
|
||||
'-DU_ENABLE_FIT_PARSING_SUPPORT',
|
||||
'-DU_ENABLE_GUID_DATABASE_SUPPORT',
|
||||
],
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue