MantisBT - CMake
View Issue Details
0016011CMakeCMakepublic2016-03-10 19:192016-06-10 14:31
Aaron Simmons 
Kitware Robot 
highmajoralways
closedmoved 
WindowsPhoneWindows10
CMake 3.5 
 
0016011: can't generate WindowsPhone 8.1 projects
According to the CMake Toolchain docs, to generate a WindowsPhone project we should be able to set CMAKE_SYSTEM_NAME to "WindowsPhone" and CMAKE_SYSTEM_VERSION to "8.1".

However, this doesn't seem to be working. I get "No CMAKE_C_COMPILER could be found."
With this CMakeLists.txt:
       cmake_minimum_required(VERSION 3.5.0)
       project(TestLib)
and this command:
       cmake .. -G "Visual Studio 14 2015 ARM" -DCMAKE_SYSTEM_NAME=WindowsPhone -DCMAKE_SYSTEM_VERSION=8.1
I get this output:
        -- The C compiler identification is unknown
        -- The CXX compiler identification is unknown
        CMake Error at CMakeLists.txt:2 (project):
          No CMAKE_C_COMPILER could be found.



        CMake Error at CMakeLists.txt:2 (project):
          No CMAKE_CXX_COMPILER could be found.



        -- Configuring incomplete, errors occurred!
        See also "C:/Users/admin/Development/TestLib/.build/CMakeFiles/CMakeOutput.log".
        See also "C:/Users/admin/Development/TestLib/.build/CMakeFiles/CMakeError.log".
I seem to be able to generate a UWP project properly with CMAKE_SYSTEM_NAME to "WindowsStore" and CMAKE_SYSTEM_VERSION to "10.0".
No tags attached.
Issue History
2016-03-10 19:19Aaron SimmonsNew Issue
2016-06-10 14:29Kitware RobotNote Added: 0042962
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
(0042962)
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.