diff options
author | James Zern <jzern@google.com> | 2023-05-05 19:00:08 -0700 |
---|---|---|
committer | James Zern <jzern@google.com> | 2023-05-08 10:53:21 -0700 |
commit | 3916e0e1308acd8511269ca4ed6394601f72cc10 (patch) | |
tree | 117f48ef5acbf60cf2d94d48fb7630174456ed30 | |
parent | 3fe13658846564f37399035146132ee2af2b1ba6 (diff) | |
download | libvpx-3916e0e1308acd8511269ca4ed6394601f72cc10.tar.gz |
gen_msvs_vcxproj: add ARM64EC w/VS >= 2022
rather than define new targets, add a platform to the arm64 list as they
share the same configuration.
Bug: webm:1788
Change-Id: Iac020280b1103fb12b559f21439aeff26568fba4
-rwxr-xr-x | build/make/gen_msvs_vcxproj.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build/make/gen_msvs_vcxproj.sh b/build/make/gen_msvs_vcxproj.sh index 482d88f49..1e1db05bb 100755 --- a/build/make/gen_msvs_vcxproj.sh +++ b/build/make/gen_msvs_vcxproj.sh @@ -269,6 +269,10 @@ case "$target" in ;; arm64*) platforms[0]="ARM64" + # As of Visual Studio 2022 17.5.5, clang-cl does not support ARM64EC. + if [ "$vs_ver" -ge 17 -a "$platform_toolset" != "ClangCl" ]; then + platforms[1]="ARM64EC" + fi asm_Debug_cmdline="armasm64 -nologo -oldit "%(FullPath)"" asm_Release_cmdline="armasm64 -nologo -oldit "%(FullPath)"" ;; |