[CMake] can't generate WindowsPhone 8.1 projects

Aaron Simmons asimmons at sensoryinc.com
Mon Mar 14 13:11:26 EDT 2016


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.

Oddly, using WindowsPhone/8.0 or WindowsStore/10.0 works.  I'm not sure how
to debug this problem.  Any pointers?



Thanks,
aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160314/90d5b271/attachment.html>


More information about the CMake mailing list