From f7fa305e8274316cf8acca56dfbd1ad511798b50 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sun, 5 Jan 2025 12:06:32 +0100 Subject: [PATCH] build: Generate pdb file for libpl, significantly reduce binary size --- cmake/build_helpers.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmake/build_helpers.cmake b/cmake/build_helpers.cmake index fb358ba84..ef27aa27a 100644 --- a/cmake/build_helpers.cmake +++ b/cmake/build_helpers.cmake @@ -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 ()