summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio10Generator.cxx
diff options
context:
space:
mode:
authorMinmin Gong <gongminmin@msn.com>2017-09-02 04:06:38 (GMT)
committerBrad King <brad.king@kitware.com>2017-09-12 13:54:29 (GMT)
commitbc7c94fe13eeda2b59f5af606a03fdad5a9c29a5 (patch)
tree86395272041689ead3e1bc6f2a062cece8861cc5 /Source/cmGlobalVisualStudio10Generator.cxx
parent3f8c6cab4bb4a9f68708c11a38e4487dad363e38 (diff)
downloadCMake-bc7c94fe13eeda2b59f5af606a03fdad5a9c29a5.zip
CMake-bc7c94fe13eeda2b59f5af606a03fdad5a9c29a5.tar.gz
CMake-bc7c94fe13eeda2b59f5af606a03fdad5a9c29a5.tar.bz2
MSVC: Add support for ARM64 architecture
Visual Studio 15.4 adds support for this architecture. Fixes: #17213
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio10Generator.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.cxx b/Source/cmGlobalVisualStudio10Generator.cxx
index 1c0953a..5db81ce 100644
--- a/Source/cmGlobalVisualStudio10Generator.cxx
+++ b/Source/cmGlobalVisualStudio10Generator.cxx
@@ -695,7 +695,12 @@ bool cmGlobalVisualStudio10Generator::FindVCTargetsPath(cmMakefile* mf)
xw.Content(this->WindowsTargetPlatformVersion);
xw.EndElement(); // WindowsTargetPlatformVersion
}
- if (this->GetPlatformName() == "ARM") {
+ if (this->GetPlatformName() == "ARM64") {
+ xw.StartElement("WindowsSDKDesktopARM64Support");
+ xw.Content("true");
+ xw.EndElement(); // WindowsSDK64DesktopARMSupport
+ }
+ else if (this->GetPlatformName() == "ARM") {
xw.StartElement("WindowsSDKDesktopARMSupport");
xw.Content("true");
xw.EndElement(); // WindowsSDKDesktopARMSupport