How to install CMake on Cygwin?

浪尽此生 提交于 2019-12-09 02:36:53

问题


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.


回答1:


Actually cmake is not a compiler. It is a wrapper to generate files for different make like programmes. The package is available in cygwin, You do not need to build from source. Before adding new package recommended to close all cygwin programmes. Then you should download the latest setup.exe programme (64 bit or or 32 bit version. 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...

I hope this helps!




回答2:


  • Download from: http://www.cmake.org/download/
  • unpack into some directory
./bootstrap
  make      
  make install


来源:https://stackoverflow.com/questions/28172562/how-to-install-cmake-on-cygwin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!