From 1675498d4decc7cc7e98f695936ed411859b490c Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Fri, 2 Sep 2022 11:55:20 +0100 Subject: [PATCH] Add UEFIFind as a meson target --- UEFIFind/meson.build | 16 ++++++++++++++++ common/meson.build | 1 + meson.build | 1 + 3 files changed, 18 insertions(+) create mode 100644 UEFIFind/meson.build diff --git a/UEFIFind/meson.build b/UEFIFind/meson.build new file mode 100644 index 0000000..ec5a8aa --- /dev/null +++ b/UEFIFind/meson.build @@ -0,0 +1,16 @@ +executable( + 'UEFIFind', + sources: [ + 'uefifind_main.cpp', + 'uefifind.cpp', + ], + link_with: [ + lzma, + bstrlib, + uefitoolcommon, + ], + dependencies: [ + zlib, + ], + install: true, +) diff --git a/common/meson.build b/common/meson.build index 16c1c91..21b0dbf 100644 --- a/common/meson.build +++ b/common/meson.build @@ -25,6 +25,7 @@ uefitoolcommon = static_library('uefitoolcommon', 'meparser.cpp', 'ffsparser.cpp', 'ffsreport.cpp', + 'ffsutils.cpp', 'peimage.cpp', 'treeitem.cpp', 'treemodel.cpp', diff --git a/meson.build b/meson.build index 976ed1e..aa27ab6 100644 --- a/meson.build +++ b/meson.build @@ -9,3 +9,4 @@ zlib = dependency('zlib') subdir('common') subdir('UEFIExtract') +subdir('UEFIFind')