Add VS2022 support with the v143 toolset

This commit is contained in:
Stan
2024-11-02 14:09:34 +01:00
committed by Itms
parent 8ed40553c8
commit ef69c37f66
7 changed files with 29 additions and 74 deletions
+3 -3
View File
@@ -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");