The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=13511 ====================================================================== Reported By: Sergey Yakovlev Assigned To: ====================================================================== Project: CMake Issue ID: 13511 Category: CMake Reproducibility: always Severity: major Priority: high Status: new ====================================================================== Date Submitted: 2012-09-03 10:15 EDT Last Modified: 2012-09-03 10:15 EDT ====================================================================== Summary: Cannot use with VS 2012 RTM for ARM platform Description: Environment: * Windows 8 RTM x64 * CMake 2.8.9 * Visual Studio 2012 RTM 11.0.50727.1 RTMEL
Attempt to use "Visual Studio 11 ARM" generator leads to below error: -- 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/share/cmake-2.8/Modules/CMakeTes tCCompiler.cmake:61 (message): The C compiler "C:/Program Files (x86)/Microsoft Visual Studio 11.0/VC/bin/cl.exe" is not able to compile a simple test program. It fails with the following output: Change Dir: C:/Users/MyUser/Desktop/MyProject/CMakeFiles/CMakeTmp Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec923234006 Microsoft (R) Microsoft Visual Studio 2012 Version 11.0.50727.1. Copyright (C) Microsoft Corp. All rights reserved. ------ Build started: Project: cmTryCompileExec923234006, Configuration: Debug ARM ------ C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Platforms\ARM\PlatformToolsets\v110\Micr osoft.Cpp.ARM.v110.targets(36,5): error MSB8022: Compiling Desktop applications for the ARM platform is not supported. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:281 (project) -- Configuring incomplete, errors occurred! Additional Information: VS2012 RTM doesn't allow to build desktop projects for ARM platform. It seems that all you need to fix this issue is adding <AppContainerApplication>true</AppContainerApplication> to <PropertyGroup> section of test project (CMAKE_TRY_COMPILE.sln). ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2012-09-03 10:15 Sergey YakovlevNew 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
