0
我正在使用MSVC 2015的CMake v3.5.0。我想生成一個Windows Phone 8.1項目。在CMake Docs中顯示瞭如何設置CMAKE_SYSTEM_NAME
到WindowsPhone
和CMAKE_SYSTEM_VERSION
到8.1
。與Windows Phone的cmake
然而,當我這樣做,它倒下:
> cmake .. -G "Visual Studio 14 2015 ARM" -DCMAKE_SYSTEM_NAME=WindowsPhone -DCMAKE_SYSTEM_VERSION=8.1
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:3 (project):
No CMAKE_C_COMPILER could be found.
CMake Error at CMakeLists.txt:3 (project):
No CMAKE_CXX_COMPILER could be found.
如何使這項工作任何想法?