MantisBT - CMake
View Issue Details
0013077CMakeCMakepublic2012-03-30 00:062013-03-04 08:38
Minmin Gong 
Brad King 
normalfeaturealways
closedfixed 
CMake 2.8.7 
CMake 2.8.9CMake 2.8.9 
0013077: Generator for Visual Studio 11 ARM
Visual Studio 11 support x86, x64 and ARM. But the generator now in CMake don't have ARM version.
ARM, visual studio
related to 0013511closed Brad King Add support for WinRT platforms and "metro" apps 
patch vc11_arm.patch (5,968) 2012-04-06 06:21
https://public.kitware.com/Bug/file/4290/vc11_arm.patch
patch vc11_arm_new.patch (5,318) 2012-05-09 04:08
https://public.kitware.com/Bug/file/4320/vc11_arm_new.patch
Issue History
2012-03-30 00:06Minmin GongNew Issue
2012-03-30 09:59Brad KingNote Added: 0029004
2012-03-30 09:59Brad KingStatusnew => backlog
2012-04-06 06:21Minmin GongFile Added: vc11_arm.patch
2012-04-06 06:22Minmin GongNote Added: 0029086
2012-04-06 06:22Minmin GongTag Attached: ARM
2012-04-06 06:22Minmin GongTag Attached: visual studio
2012-04-09 13:44Brad KingNote Added: 0029104
2012-05-09 04:08Minmin GongFile Added: vc11_arm_new.patch
2012-05-09 04:09Minmin GongNote Added: 0029428
2012-05-09 09:15Brad KingAssigned To => Brad King
2012-05-09 09:15Brad KingStatusbacklog => assigned
2012-05-09 09:16Brad KingNote Added: 0029430
2012-05-09 09:16Brad KingStatusassigned => resolved
2012-05-09 09:16Brad KingResolutionopen => fixed
2012-05-09 09:16Brad KingFixed in Version => CMake 2.8.9
2012-05-09 09:16Brad KingTarget Version => CMake 2.8.9
2012-09-03 10:22Brad KingRelationship addedrelated to 0013511
2013-03-04 08:38Robert MaynardNote Added: 0032435
2013-03-04 08:38Robert MaynardStatusresolved => closed

Notes
(0029004)
Brad King   
2012-03-30 09:59   
Itanium support was contributed here:

  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=aed92cce [^]

A similar patch will be needed for ARM support.
(0029086)
Minmin Gong   
2012-04-06 06:22   
Thanks for your mention. I've finished a patch for VC11 ARM generation based on your link.
(0029104)
Brad King   
2012-04-09 13:44   
Thanks for working on a patch!

In existing generators the CMAKE_CL_64 value is set only for compatibility. Normally one should test CMAKE_SIZEOF_VOID_P to get the address size. Therefore CMAKE_CL_ARM should not be added, so CMAKE_FORCE_ARM isn't needed either. Please update the patch accordingly.
(0029428)
Minmin Gong   
2012-05-09 04:09   
Thanks Brad. I've updated my patch based on CMake 2.8.8 and your recommendation. Removes CMAKE_FORCE_ARM and CMAKE_CL_ARM.
(0029430)
Brad King   
2012-05-09 09:16   
Thanks for the updated patch! I've applied it:

  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0fa3d093 [^]

I squashed in one change to "Modules/CMakePlatformId.h.in" so that the NMake Makefiles generator can recognize the ARM architecture when running with this toolchain.
(0032435)
Robert Maynard   
2013-03-04 08:38   
Closing resolved issues that have not been updated in more than 4 months.