mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-09 13:52:01 -04:00
Untie guid database from Qt
This commit is contained in:
parent
6982aace9b
commit
8f6c8ef5cc
6 changed files with 79 additions and 20 deletions
|
@ -57,6 +57,6 @@ SET(PROJECT_HEADERS
|
|||
../version.h
|
||||
)
|
||||
|
||||
ADD_DEFINITIONS(-DU_ENABLE_NVRAM_PARSING_SUPPORT)
|
||||
ADD_DEFINITIONS(-DU_ENABLE_NVRAM_PARSING_SUPPORT -DU_ENABLE_FIT_PARSING_SUPPORT -DU_ENABLE_GUID_DATABASE_SUPPORT)
|
||||
|
||||
ADD_EXECUTABLE(UEFIExtract ${PROJECT_SOURCES} ${PROJECT_HEADERS})
|
|
@ -19,6 +19,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
#include "../common/filesystem.h"
|
||||
#include "../common/ffsparser.h"
|
||||
#include "../common/ffsreport.h"
|
||||
#include "../common/guiddatabase.h"
|
||||
#include "ffsdumper.h"
|
||||
#include "uefidump.h"
|
||||
|
||||
|
@ -31,6 +32,8 @@ enum ReadType {
|
|||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
initGuidDatabase("guids.csv");
|
||||
|
||||
if (argc > 1) {
|
||||
// Check that input file exists
|
||||
UString path = argv[1];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue