[cmake-developers] [CMake 0014129]: CMakeDetermineCompilerId.cmake is broken for VS 2011/2012 ARM targets

Mantis Bug Tracker mantis at public.kitware.com
Tue May 7 01:40:07 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14129 
====================================================================== 
Reported By:                Alexander Mohr
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14129
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-05-07 01:40 EDT
Last Modified:              2013-05-07 01:40 EDT
====================================================================== 
Summary:                    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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-05-07 01:40 Alexander Mohr New Issue                                    
======================================================================




More information about the cmake-developers mailing list