windows 如何在 Cygwin 上安装 CMake?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/28172562/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to install CMake on Cygwin?
提问by Romain-p
I have some difficulties to use Cygwin. I need that compiler to use CLion IDE by Netbrains. Can you explain me how to install CMake by the cygwin-terminal ? Thank you.
我在使用 Cygwin 时遇到了一些困难。我需要那个编译器来使用 Netbrains 的 CLion IDE。你能解释一下如何通过 cygwin-terminal 安装 CMake 吗?谢谢你。
回答by TrueY
Actually cmakeis not a compiler. It is a wrapper to generate files for different makelike programmes. The package is available in cygwin, You do not need to build from source. Before adding new package recommended to close all cygwinprogrammes. Then you should download the latest setup.exe
programme (64 bitor or 32 bitversion. Launch if from Windows' cmd prompt. In the "Select Packages" dialogue you can enter cmake
to the "Search" edit box. If You open open the "Devel" line. Here you can check: "cmake: Cross-platform makefile generation system". Press "Next>" and Install (I think) and here you get the package...
实际上cmake不是编译器。它是为不同的make程序生成文件的包装器。该包在cygwin 中可用,您不需要从源代码构建。在添加新包之前建议关闭所有cygwin程序。然后你应该下载最新的setup.exe
程序(64位或32位版本。如果从Windows的cmd提示符启动。在“选择包”对话框中,你可以进入cmake
“搜索”编辑框。如果你打开“开发”行。在这里你可以检查:“cmake:跨平台makefile生成系统”。按“下一步>”并安装(我认为),在这里你得到包......
I hope this helps!
我希望这有帮助!
回答by Loreno Heer
- Download from: http://www.cmake.org/download/
- unpack into some directory
- 下载地址:http: //www.cmake.org/download/
- 解压到某个目录
./bootstrap make make install
./bootstrap make make install