View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014129 | CMake | CMake | public | 2013-05-07 01:40 | 2013-10-07 10:09 | ||||
Reporter | Alexander Mohr | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | Windows | OS | Window | OS Version | 7/8 | ||||
Product Version | CMake 2.8.10.2 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014129: CMakeDetermineCompilerId.cmake is broken for VS 2011/2012 ARM targets | ||||||||
Description | its 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 Reproduce | enter 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 Information | I've verified adding the above fixes the issue. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | ||||||
|
Relationships |
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. |
Notes |
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 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |