【发布时间】:2018-12-23 08:37:18
【问题描述】:
有没有办法使用 cmake gui 来指定 x64 构建,因为默认情况下,Windows 上的 cmake 创建一个 32 位 Visual Studio 解决方案。
从命令行,人们说这样做:
C:\projectx\build> cmake ..\make -G "Visual Studio 10 Win64"
但是如何从 cmake windows gui 获取命令行参数?
见:
How to build x86 and/or x64 on Windows from command line with CMAKE?
【问题讨论】: