@@ -126,6 +126,8 @@ newoption { trigger = "vorbis-lib-dir", category = "YGOPro - miniaudio", descrip
126126newoption { trigger = " ogg-include-dir" , category = " YGOPro - miniaudio" , description = " " , value = " PATH" }
127127newoption { trigger = " ogg-lib-dir" , category = " YGOPro - miniaudio" , description = " " , value = " PATH" }
128128
129+ newoption { trigger = " vs2026-win7-support" , category = " YGOPro" , description = " Enable Windows 7 support (toolset v143) for Visual Studio 2026" }
130+
129131newoption { trigger = " mac-arm" , category = " YGOPro" , description = " Cross Compile for Apple Silicon Mac" }
130132newoption { trigger = " mac-intel" , category = " YGOPro" , description = " Cross Compile for Intel Mac" }
131133
@@ -292,6 +294,10 @@ if USE_SIMD == "avx2" or USE_SIMD == "neon" then
292294 USE_SIMD = " best"
293295end
294296
297+ if os .istarget (" windows" ) and GetParam (" vs2026-win7-support" ) then
298+ WIN7_SUPPORT = true
299+ end
300+
295301if os .istarget (" macosx" ) then
296302 if GetParam (" mac-arm" ) then
297303 MAC_ARM = true
@@ -320,6 +326,11 @@ workspace "YGOPro"
320326 startproject " YGOPro"
321327 defines { " WINVER=0x0601" } -- WIN7
322328
329+ if WIN7_SUPPORT then
330+ filter { " system:windows" , " action:vs2026" }
331+ toolset " v143"
332+ end
333+
323334 filter { " system:windows" , " action:vs*" }
324335 platforms { " Win32" , " x64" , " ARM64" }
325336 defaultplatform " x64"
0 commit comments