C++ 如何在 Windows 64 位上安装 cmake

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10964477/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-27 14:40:48  来源:igfitidea点击:

How to install cmake on Windows 64 bit

c++cwindowsvisual-c++cmake

提问by pythonic

The download page for cmake only shows a 32 bit installer for windows. Any idea how to install it on 64 windows systems.

cmake 的下载页面仅显示适用于 Windows 的 32 位安装程序。任何想法如何在 64 Windows 系统上安装它。

回答by Reed Copsey

There is really no reason for a 64bit native CMake. CMake is only building the configuration, so you can use it to build configurations for 64bit software, even with the 32bit version.

真的没有理由使用 64 位本机 CMake。CMake 只构建配置,因此您可以使用它为 64 位软件构建配置,即使是 32 位版本。

That being said, if you truly want a 64bit native version, you could always download the source and compile it. There is no 64bit installer, however.

话虽如此,如果你真的想要一个 64 位的原生版本,你总是可以下载源代码并编译它。但是,没有 64 位安装程序。

回答by Ove

The 32 bit version works perfectly even on 64 bit Windows. I've used it, and it works.

32 位版本即使在 64 位 Windows 上也能完美运行。我用过它,它有效。

EDIT: It looks like CMake is now available in both 32-bit and 64-bit flavors. Just go to their website and you can get the 64-bit version.

编辑:看起来 CMake 现在有 32 位和 64 位两种版本。只需访问他们的网站,您就可以获得 64 位版本。

回答by Darby

A 64-bit Windows installer is now available from the download page: https://cmake.org/download

现在可以从下载页面获得 64 位 Windows 安装程序:https: //cmake.org/download