Skip to content

Commit ac2704c

Browse files
committed
Add Visual Studio 17 2022 support
1 parent c55d1a4 commit ac2704c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

msvc-static-configure.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ elseif ("$ENV{APPLAUNCHER_CMAKE_GENERATOR}" STREQUAL "Visual Studio 16 2019")
2929
# For local build with Visual Studio 2019 with modern CMake
3030
set(APPLAUNCHER_CMAKE_GENERATOR -G "Visual Studio 16 2019" -T v141 -A Win32)
3131
set(APPLAUNCHER_USE_NINJA OFF)
32+
elseif ("$ENV{APPLAUNCHER_CMAKE_GENERATOR}" STREQUAL "Visual Studio 17 2022")
33+
# For local build with Visual Studio 2019 with modern CMake
34+
set(APPLAUNCHER_CMAKE_GENERATOR -G "Visual Studio 17 2022" -T v143 -A Win32)
35+
set(APPLAUNCHER_USE_NINJA OFF)
3236
else()
3337
message(FATAL_ERROR "Env. variable APPLAUNCHER_CMAKE_GENERATOR is expected to match 'Ninja' or 'Visual Studio 15 2017' or 'Visual Studio 16 2019' [$ENV{APPLAUNCHER_CMAKE_GENERATOR}]")
3438
endif()

0 commit comments

Comments
 (0)