summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAlexander Mohr <thehesiod@hotmail.com>2013-05-08 13:10:52 (GMT)
committerBrad King <brad.king@kitware.com>2013-05-08 13:10:52 (GMT)
commite4c046521f1da9cee44833d88320d7551719059b (patch)
treebf75d6158af765c8dd16325512b33e79d69f367d /Modules
parent619fa2cce851728790986108e6519e7f440387ee (diff)
downloadCMake-e4c046521f1da9cee44833d88320d7551719059b.zip
CMake-e4c046521f1da9cee44833d88320d7551719059b.tar.gz
CMake-e4c046521f1da9cee44833d88320d7551719059b.tar.bz2
VS: Detect MSVC compiler id on ARM toolchain
This enables detection with the VS2012 CTP for windows Blue (8.1). To build native ARM you need to have the WOA SDK (Windows on ARM).
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CMakeDetermineCompilerId.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CMakeDetermineCompilerId.cmake b/Modules/CMakeDetermineCompilerId.cmake
index b918092..ae91a29 100644
--- a/Modules/CMakeDetermineCompilerId.cmake
+++ b/Modules/CMakeDetermineCompilerId.cmake
@@ -131,6 +131,8 @@ Id flags: ${testflags}
elseif("${id_arch}" STREQUAL "Itanium")
set(id_machine_10 MachineIA64)
set(id_arch ia64)
+ elseif("${id_arch}" STREQUAL "ARM")
+ set(id_machine_10 MachineARM)
else()
set(id_machine_6 x86)
set(id_machine_10 MachineX86)