2018-08-02 08:41:11 +08:00
|
|
|
cmake_minimum_required(VERSION 3.0)
|
|
|
|
|
2018-07-13 05:17:08 +08:00
|
|
|
PROJECT(UEFIExtract)
|
|
|
|
|
|
|
|
SET(PROJECT_SOURCES
|
|
|
|
uefiextract_main.cpp
|
|
|
|
ffsdumper.cpp
|
2018-08-02 09:10:39 +08:00
|
|
|
uefidump.cpp
|
2018-07-13 05:17:08 +08:00
|
|
|
../common/guiddatabase.cpp
|
|
|
|
../common/types.cpp
|
|
|
|
../common/descriptor.cpp
|
|
|
|
../common/ffs.cpp
|
|
|
|
../common/nvram.cpp
|
|
|
|
../common/nvramparser.cpp
|
|
|
|
../common/ffsparser.cpp
|
|
|
|
../common/ffsreport.cpp
|
|
|
|
../common/peimage.cpp
|
|
|
|
../common/treeitem.cpp
|
|
|
|
../common/treemodel.cpp
|
|
|
|
../common/utility.cpp
|
|
|
|
../common/LZMA/LzmaDecompress.c
|
|
|
|
../common/LZMA/SDK/C/LzmaDec.c
|
|
|
|
../common/Tiano/EfiTianoDecompress.c
|
|
|
|
../common/ustring.cpp
|
|
|
|
../common/sha256.c
|
|
|
|
../common/bstrlib/bstrlib.c
|
|
|
|
../common/bstrlib/bstrwrap.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
SET(PROJECT_HEADERS
|
|
|
|
ffsdumper.h
|
2018-08-02 09:10:39 +08:00
|
|
|
uefidump.h
|
2018-07-13 05:17:08 +08:00
|
|
|
../common/guiddatabase.h
|
|
|
|
../common/basetypes.h
|
|
|
|
../common/descriptor.h
|
|
|
|
../common/gbe.h
|
|
|
|
../common/me.h
|
|
|
|
../common/ffs.h
|
|
|
|
../common/nvram.h
|
|
|
|
../common/nvramparser.h
|
|
|
|
../common/ffsparser.h
|
|
|
|
../common/ffsreport.h
|
|
|
|
../common/peimage.h
|
|
|
|
../common/types.h
|
|
|
|
../common/treeitem.h
|
|
|
|
../common/treemodel.h
|
|
|
|
../common/utility.h
|
|
|
|
../common/LZMA/LzmaDecompress.h
|
|
|
|
../common/Tiano/EfiTianoDecompress.h
|
|
|
|
../common/ubytearray.h
|
|
|
|
../common/ustring.h
|
|
|
|
../common/bootguard.h
|
|
|
|
../common/sha256.h
|
|
|
|
../common/filesystem.h
|
|
|
|
../common/bstrlib/bstrlib.h
|
|
|
|
../common/bstrlib/bstrwrap.h
|
|
|
|
../version.h
|
|
|
|
)
|
|
|
|
|
|
|
|
ADD_DEFINITIONS(-DU_ENABLE_NVRAM_PARSING_SUPPORT)
|
|
|
|
|
|
|
|
ADD_EXECUTABLE(UEFIExtract ${PROJECT_SOURCES} ${PROJECT_HEADERS})
|