Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2bb1177

Browse files
committed
Update LLVM build script for Visual Studio 2022.
1 parent7d6decd commit2bb1177

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

‎build/llvm/LLVM.lua

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,15 @@ end
5353

5454
functionget_vs_version()
5555
localfunctionmap_msvc_to_vs_version(major,minor)
56-
ifmajor=="19"andminor>="20"thenreturn"vs2019"
56+
ifmajor=="22"thenreturn"vs2022"
57+
elseifmajor=="19"andminor>="20"thenreturn"vs2019"
5758
elseifmajor=="19"andminor>="10"thenreturn"vs2017"
5859
end
5960
end
6061

6162
localfunctionmap_msbuild_to_vs_version(major,minor)
62-
ifmajor=="16"thenreturn"vs2019"
63+
ifmajor=="17"thenreturn"vs2022"
64+
elseifmajor=="16"thenreturn"vs2019"
6365
elseifmajor=="15"thenreturn"vs2017"
6466
end
6567
end
@@ -397,7 +399,9 @@ end
397399

398400
functionget_cmake_generator()
399401
localvsver=get_vs_version()
400-
ifvsver=="vs2019"then
402+
ifvsver=="vs2022"then
403+
return"Visual Studio 17 2022", (target_architecture()=="x86")and"-A Win32"ornil
404+
elseifvsver=="vs2019"then
401405
return"Visual Studio 16 2019", (target_architecture()=="x86")and"-A Win32"ornil
402406
elseifvsver=="vs2017"then
403407
return"Visual Studio 15 2017".. (target_architecture()=="x64"and" Win64"or""),nil

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp