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:
Richard Hughes 2022-08-29 08:49:01 +01:00 committed by Nikolaj Schlej
parent 7695927eec
commit eef00f73a4
4 changed files with 82 additions and 0 deletions

18
UEFIExtract/meson.build Normal file
View file

@ -0,0 +1,18 @@
executable(
'UEFIExtract',
sources: [
'uefiextract_main.cpp',
'ffsdumper.cpp',
'uefidump.cpp',
],
link_with: [
lzma,
bstrlib,
uefitoolcommon,
],
dependencies: [
zlib,
],
install: true,
install_dir: get_option('bindir')
)