From afb320612a041630d6f15857d39ff9cf9c656bf6 Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Thu, 21 May 2026 16:17:16 -0400 Subject: [PATCH 1/2] Explicitly use Platform Toolset v143 with vcpkg --- mhw-cs-plugin-loader/mhw-cs-plugin-loader.vcxproj | 3 +++ x64-windows-v143-static-md.cmake | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 x64-windows-v143-static-md.cmake diff --git a/mhw-cs-plugin-loader/mhw-cs-plugin-loader.vcxproj b/mhw-cs-plugin-loader/mhw-cs-plugin-loader.vcxproj index 12e8a09..4ad64c7 100644 --- a/mhw-cs-plugin-loader/mhw-cs-plugin-loader.vcxproj +++ b/mhw-cs-plugin-loader/mhw-cs-plugin-loader.vcxproj @@ -24,6 +24,7 @@ {9267fd61-f5bf-4190-b327-8385f8576479} mhwcspluginloader 10.0 + x64-windows-v143 @@ -80,10 +81,12 @@ true true + --overlay-triplets=..\ true true + --overlay-triplets=..\ diff --git a/x64-windows-v143-static-md.cmake b/x64-windows-v143-static-md.cmake new file mode 100644 index 0000000..26a165b --- /dev/null +++ b/x64-windows-v143-static-md.cmake @@ -0,0 +1,5 @@ +# https://github.com/microsoft/vcpkg/blob/master/triplets/x64-windows-static-md.cmake +set(VCPKG_TARGET_ARCHITECTURE x64) +set(VCPKG_CRT_LINKAGE dynamic) +set(VCPKG_LIBRARY_LINKAGE static) +set(VCPKG_PLATFORM_TOOLSET "v143") From efdd99ea3363b3a3eb3784e86dd2fffe2f399e1d Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Thu, 21 May 2026 16:18:06 -0400 Subject: [PATCH 2/2] Remove x86 target from solution --- mhw-cs-plugin-loader.slnx | 5 +- .../mhw-cs-plugin-loader.vcxproj | 55 ------------------- 2 files changed, 1 insertion(+), 59 deletions(-) diff --git a/mhw-cs-plugin-loader.slnx b/mhw-cs-plugin-loader.slnx index 6b2f2ce..ecc1f8c 100644 --- a/mhw-cs-plugin-loader.slnx +++ b/mhw-cs-plugin-loader.slnx @@ -6,7 +6,6 @@ - @@ -62,9 +61,7 @@ - - - + diff --git a/mhw-cs-plugin-loader/mhw-cs-plugin-loader.vcxproj b/mhw-cs-plugin-loader/mhw-cs-plugin-loader.vcxproj index 4ad64c7..e20900e 100644 --- a/mhw-cs-plugin-loader/mhw-cs-plugin-loader.vcxproj +++ b/mhw-cs-plugin-loader/mhw-cs-plugin-loader.vcxproj @@ -1,14 +1,6 @@ - - Debug - Win32 - - - Release - Win32 - Debug x64 @@ -27,19 +19,6 @@ x64-windows-v143 - - Application - true - v143 - Unicode - - - Application - false - v143 - true - Unicode - DynamicLibrary true @@ -58,12 +37,6 @@ - - - - - - @@ -88,34 +61,6 @@ true --overlay-triplets=..\ - - - Level3 - true - WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) - true - - - Console - true - - - - - Level3 - true - true - true - WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) - true - - - Console - true - true - true - - Level3