ref: fa1e85b095d08d7a5408652c86dd50700114d36a
parent: 84b19ab5acb9f7104441c2c3c5a8157a95e417e1
parent: aa827867aae79beecdc2588f2868ccd172f4b272
author: Jon Kunkee <jkunkee@microsoft.com>
date: Fri Nov 16 17:26:15 EST 2018
Merge "Add ARM64 support to VS project generation"
--- a/build/make/gen_msvs_vcxproj.sh
+++ b/build/make/gen_msvs_vcxproj.sh
@@ -261,6 +261,11 @@
asm_Debug_cmdline="yasm -Xvc -g cv8 -f win32 ${yasmincs} "%(FullPath)""
asm_Release_cmdline="yasm -Xvc -f win32 ${yasmincs} "%(FullPath)""
;;
+ arm64*)
+ platforms[0]="ARM64"
+ asm_Debug_cmdline="armasm64 -nologo -oldit "%(FullPath)""
+ asm_Release_cmdline="armasm64 -nologo -oldit "%(FullPath)""
+ ;;
arm*)
platforms[0]="ARM"
asm_Debug_cmdline="armasm -nologo -oldit "%(FullPath)""
@@ -306,6 +311,16 @@
# v120 while it should be v120_wp81 if the type is Windows Phone.
tag_content ApplicationType "Windows Store"
tag_content ApplicationTypeRevision 8.1
+ fi
+ if [ $vs_ver -eq 15 ] && [ "${platforms[0]}" = "ARM64" ]; then
+ # Require the first Visual Studio version to have ARM64 support.
+ tag_content MinimumVisualStudioVersion 15.9
+ # Require a Windows SDK that has ARM64 support rather than the
+ # default of 8.1.
+ # Since VS 15 does not have a 'use latest SDK version' facility,
+ # set WindowsTargetPlatformVersion to the first official SDK
+ # version to have ARM64 support.
+ tag_content WindowsTargetPlatformVersion 10.0.17134.0
fi
close_tag PropertyGroup