The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14598 
====================================================================== 
Reported By:                Moshe Rubin
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14598
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   high
Status:                     new
====================================================================== 
Date Submitted:             2013-11-26 05:55 EST
Last Modified:              2013-11-26 05:55 EST
====================================================================== 
Summary:                    CMake 2.8.12 with "Visual Studio 11 ARM" generator
fails to compile simple test program, 2.8.11 works
Description: 
Running the following command using CMake 2.8.11:

"C:\Program Files (x86)\CMake 2.8.11\bin\cmake.exe" ..\ -G "Visual Studio 11
ARM" -T "v110_wp80"

successfully creates a Visual Studio solution file:

-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Configuring done
-- Generating done
-- Build files have been written to:
C:/junk/TestProjects/CMakeArmRegression/Generated-2.8.11

Using CMake 2.8.12, however, fails to compile the simple test program:

"C:\Program Files (x86)\CMake 2.8.12\bin\cmake.exe" ..\ -G "Visual Studio 11
ARM" -T "v110_wp80"

-- The C compiler identification is MSVC 17.0.50727.1
-- The CXX compiler identification is MSVC 17.0.50727.1
-- Check for working C compiler using: Visual Studio 11 ARM
-- Check for working C compiler using: Visual Studio 11 ARM -- broken
CMake Error at C:/Program Files (x86)/CMake
2.8.12/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message):
  The C compiler "C:/Program Files (x86)/Microsoft Visual Studio
  11.0/VC/WPSDK/WP80/bin/x86_arm/cl.exe" is not able to compile a simple test
program.

Because of this problem, I am forced to stay with 2.8.11 and cannot upgrade to
2.8.12.

Steps to Reproduce: 
I have attached a ZIP file (CMakeArmRegression.zip) with the following folders
and files to reproduce the problem:

Folder CMakeArmRegression:

(*) An empty CMakeLists.txt file
(*) cmARM.bat batch file

Extract the ZIP file into any empty folder (in my case, CMakeArmRegression),
'cd' to that folder and run the command:

cmARM.bat 1> cmARM.out.txt 2>&1 cmARM.out.txt

This will create two sub-folders, Generated-2.8.11 and Generated-2.8.12,
containing the output of running the two commands:

"C:\Program Files (x86)\CMake 2.8.11\bin\cmake.exe" ..\ -G "Visual Studio 11
ARM" -T "v110_wp80"
"C:\Program Files (x86)\CMake 2.8.12\bin\cmake.exe" ..\ -G "Visual Studio 11
ARM" -T "v110_wp80"

Open the output file cmARM.out.txt to see how 2.8.11 succeeds while 2.8.12
fails.

Additional Information: 
CMake 2.8.10 also fails, like 2.8.12, when the following command is run:

"C:\Program Files (x86)\CMake 2.8.10\bin\cmake.exe" ..\ -G "Visual Studio 11
ARM"

I assume the problem was fixed in 2.8.11 but the fix was regressed in 2.8.12.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-11-26 05:55 Moshe Rubin    New Issue                                    
======================================================================

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to