MantisBT - CMake
View Issue Details
0015062CMake(No Category)public2014-08-06 10:222016-06-10 14:31
a.grudin 
Kitware Robot 
highminorhave not tried
closedmoved 
Windows 8Windows Phone 8
CMake 3.0 
 
0015062: CMake does not support solutions configuration for simulator (x86)
When I am building for "Visual Studio 11 Arm" Solution is formed and built successfully. But in case of "Visual Studio 11"

cmake -G "Visual Studio 11" -T v110_wp80 -DCMAKE_INSTALL_PREFIX="C:\Users\Tester\Desktop\===" -DBUILD_WP8=1 -DBUILD_STATIC=1 C:\Users\Tester\Desktop\====
-- The C compiler identification is MSVC 17.0.60315.1
-- The CXX compiler identification is MSVC 17.0.60315.1
-- Check for working C compiler using: Visual Studio 11
-- Check for working C compiler using: Visual Studio 11 -- broken
CMake Error at C:/Program Files (x86)/CMake 2.8/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/cl.exe" is not able to compile a simple test
  program.

  It fails with the following output:

   Change Dir: C:/Users/Tester/AppData/Local/Temp/mpimglib2014__0_We__18_12_05/CMakeFiles/CMakeTmp



  Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com
  CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec503066232



  Microsoft (R) Microsoft Visual Studio 2012 Version 11.0.60315.1.

  Copyright (C) Microsoft Corp. All rights reserved.

  1>------ Build started: Project: cmTryCompileExec503066232, Configuration:
  Debug Win32 ------

  1> Microsoft (R) C/C++ Optimizing Compiler Version 17.00.60315.1 for x86

  1> Copyright (C) Microsoft Corporation. All rights reserved.

  1>

  1> cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D
  "CMAKE_INTDIR=\"Debug\"" /D _MBCS /D WINAPI_FAMILY=WINAPI_FAMILY_PHONE_APP
  /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
  /Fo"cmTryCompileExec503066232.dir\Debug\\"
  /Fd"C:/Users/Tester/AppData/Local/Temp/mpimglib2014__0_We__18_12_05/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec503066232.pdb"
  /Gd /TC /analyze- /errorReport:prompt testCCompiler.c

  1>

  1> testCCompiler.c

  1>LINK : fatal error LNK1104: cannot open file 'kernel32.lib'

  ========== 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:262 (project)


-- Configuring incomplete, errors occurred!
No tags attached.
Issue History
2014-08-06 10:22a.grudinNew Issue
2014-08-06 10:58Brad KingNote Added: 0036562
2016-06-10 14:29Kitware RobotNote Added: 0042601
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0036562)
Brad King   
2014-08-06 10:58   
As discussed in 0013511 CMake currently does not support Windows Phone or Store.

However, there happens to be ongoing work to add support right now.

You can try a nightly binary (3.0.20140805 or later) from:

 http://www.cmake.org/files/dev/?C=M;O=D [^]

With that you should be able to cross-compile with:

 cmake -G "Visual Studio 11" -DCMAKE_SYSTEM_NAME=WindowsPhone -DCMAKE_SYSTEM_VERSION=8.0

This is work-in-progress and is still missing some pieces for app containers and deployment settings.
(0042601)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.