1
0
mirror of synced 2025-01-10 21:41:53 +01:00

build: Generate pdb file for libpl, significantly reduce binary size

This commit is contained in:
WerWolv 2025-01-05 12:06:32 +01:00
parent f96c51e854
commit f7fa305e82

View File

@ -802,7 +802,7 @@ function(generatePDBs)
)
FetchContent_Populate(cv2pdb)
set(PDBS_TO_GENERATE main main-forwarder libimhex ${PLUGINS})
set(PDBS_TO_GENERATE main main-forwarder libimhex ${PLUGINS} libpl)
foreach (PDB ${PDBS_TO_GENERATE})
if (PDB STREQUAL "main")
set(GENERATED_PDB imhex)
@ -810,6 +810,8 @@ function(generatePDBs)
set(GENERATED_PDB imhex-gui)
elseif (PDB STREQUAL "libimhex")
set(GENERATED_PDB libimhex)
elseif (PDB STREQUAL "libpl")
set(GENERATED_PDB libpl)
else ()
set(GENERATED_PDB plugins/${PDB})
endif ()