build: Generate pdb file for libpl, significantly reduce binary size
This commit is contained in:
parent
f96c51e854
commit
f7fa305e82
@ -802,7 +802,7 @@ function(generatePDBs)
|
|||||||
)
|
)
|
||||||
FetchContent_Populate(cv2pdb)
|
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})
|
foreach (PDB ${PDBS_TO_GENERATE})
|
||||||
if (PDB STREQUAL "main")
|
if (PDB STREQUAL "main")
|
||||||
set(GENERATED_PDB imhex)
|
set(GENERATED_PDB imhex)
|
||||||
@ -810,6 +810,8 @@ function(generatePDBs)
|
|||||||
set(GENERATED_PDB imhex-gui)
|
set(GENERATED_PDB imhex-gui)
|
||||||
elseif (PDB STREQUAL "libimhex")
|
elseif (PDB STREQUAL "libimhex")
|
||||||
set(GENERATED_PDB libimhex)
|
set(GENERATED_PDB libimhex)
|
||||||
|
elseif (PDB STREQUAL "libpl")
|
||||||
|
set(GENERATED_PDB libpl)
|
||||||
else ()
|
else ()
|
||||||
set(GENERATED_PDB plugins/${PDB})
|
set(GENERATED_PDB plugins/${PDB})
|
||||||
endif ()
|
endif ()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user