View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014129CMakeCMakepublic2013-05-07 01:402013-10-07 10:09
ReporterAlexander Mohr 
Assigned ToBrad King 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformWindowsOSWindowOS Version7/8
Product VersionCMake 2.8.10.2 
Target VersionFixed in Version 
Summary0014129: CMakeDetermineCompilerId.cmake is broken for VS 2011/2012 ARM targets
Descriptionits missing the entry:
    elseif("${id_arch}" STREQUAL "ARM")
      set(id_machine_10 MachineARM)

in function(CMAKE_DETERMINE_COMPILER_ID_BUILD lang testflags src)

which causes it to not detect the compiler correctly
Steps To Reproduceenter into VS 2011/2012 ARM command prompt. Then cmake . a simple cmake file like:
add_executable (helloDemo foo.c)

you'll get errors about cmake being unable to detect the compiler
Additional InformationI've verified adding the above fixes the issue.
TagsNo tags attached.
Attached Files

 Relationships
related to 0013511closedBrad King Add support for WinRT platforms and "metro" apps 

  Notes
(0033003)
Brad King (manager)
2013-05-07 09:33

On what version did you make that change? With or without that change on current master (ff298fff) it fails to find the id and I see in CMakeFiles/CMakeError.log:

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Platforms\ARM\PlatformToolsets\v110\Microsoft.Cpp.ARM.v110.targets(36,5): error MSB8022: Compiling Desktop applications for the ARM platform is not supported.
(0033006)
Alexander Mohr (reporter)
2013-05-08 02:17

I was using the nightly cmake on VS2012 CTP for windows Blue (8.1) (which incidentally also has the v120 toolset...and only the nightly build lets you specify the -T v120 parameter correctly). To build native ARM you need to have the WOA SDK (Windows on ARM). I work for a large company so we have access to it, I'm not sure if its available publicly, it seems to be alluded to here in the Windows SDK: http://msdn.microsoft.com/en-us/windows/desktop/hh852363.aspx. [^] Let me know if you need any other info. If there's going to be a 2.10.x release I hope the -T fix makes it too. I can give logs too if needed.
(0033007)
Brad King (manager)
2013-05-08 09:18

Patch applied, thanks!

 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e4c04652 [^]
(0034043)
Robert Maynard (manager)
2013-10-07 10:09

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2013-05-07 01:40 Alexander Mohr New Issue
2013-05-07 09:33 Brad King Note Added: 0033003
2013-05-07 09:35 Brad King Relationship added related to 0013511
2013-05-08 02:17 Alexander Mohr Note Added: 0033006
2013-05-08 09:18 Brad King Note Added: 0033007
2013-05-08 09:18 Brad King Assigned To => Brad King
2013-05-08 09:18 Brad King Status new => resolved
2013-05-08 09:18 Brad King Resolution open => fixed
2013-10-07 10:09 Robert Maynard Note Added: 0034043
2013-10-07 10:09 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team