我试图在macOS上安装CairoXlib,我不能让这个工作。
cmake -G "Xcode" --config Debug "-DCMAKE_BUILD_TYPE=Debug" ...
CMake Error:
Xcode 1.5 not supported.
CMake Error: Could not create named generator Xcode
Generators
* Unix Makefiles = Generates standard UNIX makefiles.
Ninja = Generates build.ninja files.
Ninja Multi-Config = Generates build-<Config>.ninja files.
Xcode = Generate Xcode project files.
CodeBlocks - Ninja = Generates CodeBlocks project files.
CodeBlocks - Unix Makefiles = Generates CodeBlocks project files.
CodeLite - Ninja = Generates CodeLite project files.
CodeLite - Unix Makefiles = Generates CodeLite project files.
Sublime Text 2 - Ninja = Generates Sublime Text 2 project files.
Sublime Text 2 - Unix Makefiles
= Generates Sublime Text 2 project files.
Kate - Ninja = Generates Kate project files.
Kate - Unix Makefiles = Generates Kate project files.
Eclipse CDT4 - Ninja = Generates Eclipse CDT 4.0 project files.
Eclipse CDT4 - Unix Makefiles= Generates Eclipse CDT 4.0 project files.
谷歌搜索 "cmake XCode "的第一个结果是 https:/cmake.orgcmakehelpv3.9generatorXcode.html。 其中说
这支持Xcode 3.0及以上版本。
所以,显然这个消息来自于CMake。