[cmake-developers] [CMake 0016011]: can't generate WindowsPhone 8.1 projects

Mantis Bug Tracker mantis at public.kitware.com
Thu Mar 10 19:19:42 EST 2016


The following issue has been SUBMITTED. 
====================================================================== 
https://cmake.org/Bug/view.php?id=16011 
====================================================================== 
Reported By:                Aaron Simmons
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   16011
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   high
Status:                     new
====================================================================== 
Date Submitted:             2016-03-10 19:19 EST
Last Modified:              2016-03-10 19:19 EST
====================================================================== 
Summary:                    can't generate WindowsPhone 8.1 projects
Description: 
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."

Steps to Reproduce: 
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".


Additional Information: 
I seem to be able to generate a UWP project properly with CMAKE_SYSTEM_NAME to
"WindowsStore" and CMAKE_SYSTEM_VERSION to "10.0".

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2016-03-10 19:19 Aaron Simmons  New Issue                                    
======================================================================



More information about the cmake-developers mailing list