Commit 1d647270 authored by Chen Bill's avatar Chen Bill Committed by GitHub

Remove WinXP support from build configuration (#2887)

parent b8d3b686
...@@ -10,9 +10,6 @@ project "event" ...@@ -10,9 +10,6 @@ project "event"
if EVENT_VERSION>=0x02020000 then if EVENT_VERSION>=0x02020000 then
print("Warning: Using libevent version 2.2.x is not supported, please use 2.1.x, otherwise you may encounter issues.") print("Warning: Using libevent version 2.2.x is not supported, please use 2.1.x, otherwise you may encounter issues.")
end end
if EVENT_VERSION>=0x02010000 and WINXP_SUPPORT then
print("Warning: libevent 2.1 uses some new APIs which require Windows Vista or later, so WinXP support will be invalid.")
end
includedirs { "include", "compat" } includedirs { "include", "compat" }
......
...@@ -83,7 +83,6 @@ newoption { trigger = "irrklang-pro-release-lib-dir", category = "YGOPro - irrkl ...@@ -83,7 +83,6 @@ newoption { trigger = "irrklang-pro-release-lib-dir", category = "YGOPro - irrkl
newoption { trigger = "irrklang-pro-debug-lib-dir", category = "YGOPro - irrklang - pro", description = "", value = "PATH" } newoption { trigger = "irrklang-pro-debug-lib-dir", category = "YGOPro - irrklang - pro", description = "", value = "PATH" }
newoption { trigger = 'build-ikpmp3', category = "YGOPro - irrklang - ikpmp3", description = "" } newoption { trigger = 'build-ikpmp3', category = "YGOPro - irrklang - ikpmp3", description = "" }
newoption { trigger = "winxp-support", category = "YGOPro", description = "" }
newoption { trigger = "mac-arm", category = "YGOPro", description = "Compile for Apple Silicon Mac" } newoption { trigger = "mac-arm", category = "YGOPro", description = "Compile for Apple Silicon Mac" }
newoption { trigger = "mac-intel", category = "YGOPro", description = "Compile for Intel Mac" } newoption { trigger = "mac-intel", category = "YGOPro", description = "Compile for Intel Mac" }
...@@ -233,10 +232,6 @@ if USE_AUDIO then ...@@ -233,10 +232,6 @@ if USE_AUDIO then
end end
end end
if GetParam("winxp-support") and os.istarget("windows") then
WINXP_SUPPORT = true
end
if os.istarget("macosx") then if os.istarget("macosx") then
if GetParam("mac-arm") then if GetParam("mac-arm") then
MAC_ARM = true MAC_ARM = true
...@@ -260,12 +255,7 @@ workspace "YGOPro" ...@@ -260,12 +255,7 @@ workspace "YGOPro"
filter "system:windows" filter "system:windows"
systemversion "latest" systemversion "latest"
startproject "YGOPro" startproject "YGOPro"
if WINXP_SUPPORT then
defines { "WINVER=0x0501" }
toolset "v141_xp"
else
defines { "WINVER=0x0601" } -- WIN7 defines { "WINVER=0x0601" } -- WIN7
end
platforms { "Win32", "x64" } platforms { "Win32", "x64" }
filter { "system:windows", "platforms:Win32" } filter { "system:windows", "platforms:Win32" }
...@@ -323,9 +313,7 @@ workspace "YGOPro" ...@@ -323,9 +313,7 @@ workspace "YGOPro"
filter "action:vs*" filter "action:vs*"
cdialect "C11" cdialect "C11"
if not WINXP_SUPPORT then
conformancemode "On" conformancemode "On"
end
vectorextensions "SSE2" vectorextensions "SSE2"
buildoptions { "/utf-8" } buildoptions { "/utf-8" }
defines { "_CRT_SECURE_NO_WARNINGS" } defines { "_CRT_SECURE_NO_WARNINGS" }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment