From 506897fab2236b4514ab47a98dbb3a83e2d6d0e8 Mon Sep 17 00:00:00 2001 From: TheLastRar Date: Tue, 10 Jun 2025 19:40:15 +0100 Subject: [PATCH] Build: Copy force enabled symbols Currently only SDL and Qt --- common/vsprops/LinkPCSX2Deps.props | 17 +++++++++++++++++ common/vsprops/QtCompile.props | 22 ++++++++++++++++++++++ pcsx2/CMakeLists.txt | 8 +++++++- 3 files changed, 46 insertions(+), 1 deletion(-) diff --git a/common/vsprops/LinkPCSX2Deps.props b/common/vsprops/LinkPCSX2Deps.props index 0ba717c049..9b08c848a6 100644 --- a/common/vsprops/LinkPCSX2Deps.props +++ b/common/vsprops/LinkPCSX2Deps.props @@ -26,6 +26,12 @@ + + + + + + + + + diff --git a/common/vsprops/QtCompile.props b/common/vsprops/QtCompile.props index 3ed3de883b..999eb5a542 100644 --- a/common/vsprops/QtCompile.props +++ b/common/vsprops/QtCompile.props @@ -138,11 +138,17 @@ + + + + + + $(QtBinaryOutputDir)qt.conf @@ -162,6 +168,22 @@ DestinationFiles="@(QtPluginsDest)" SkipUnchangedFiles="true" /> + + + + + \" --plugindir \"${CMAKE_SOURCE_DIR}/bin/QtPlugins\" --no-compiler-runtime --no-system-d3d-compiler --no-system-dxc-compiler --no-translations COMMAND_ERROR_IS_FATAL ANY)") + install(CODE "execute_process(COMMAND \"${WINDEPLOYQT_EXE}\" \"${CMAKE_SOURCE_DIR}/bin/$\" --plugindir \"${CMAKE_SOURCE_DIR}/bin/QtPlugins\" --pdb --no-compiler-runtime --no-system-d3d-compiler --no-system-dxc-compiler --no-translations COMMAND_ERROR_IS_FATAL ANY)") install(CODE "file(WRITE \"${CMAKE_SOURCE_DIR}/bin/qt.conf\" \"[Paths]\\nPlugins = ./QtPlugins\")") endif()