mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Add VS2022 support with the v143 toolset
This commit is contained in:
@@ -469,8 +469,8 @@ function project_create(project_name, target_type)
|
||||
cppdialect "C++17"
|
||||
kind(target_type)
|
||||
|
||||
filter "action:vs2017"
|
||||
toolset "v141_xp"
|
||||
filter "action:vs2022"
|
||||
toolset "v143"
|
||||
filter {}
|
||||
|
||||
filter "action:vs*"
|
||||
@@ -1007,7 +1007,7 @@ function setup_all_libs ()
|
||||
end
|
||||
|
||||
-- runtime-library-specific
|
||||
if _ACTION == "vs2017" then
|
||||
if _ACTION == "vs2022" then
|
||||
table.insert(source_dirs, "lib/sysdep/rtl/msc");
|
||||
else
|
||||
table.insert(source_dirs, "lib/sysdep/rtl/gcc");
|
||||
|
||||
Reference in New Issue
Block a user