找不到 CLion CMake 选项 -G "Visual Studio 15 2017"
Can't find CLion CMake option -G "Visual Studio 15 2017"
在 CLion 2017.2.1
中,我不知道如何在 IDE CMake 选项中设置生成器 -G "Visual Studio 15 2017"
。 CLion 命令行始终包含 -G "CodeBlocks - NMake Makefiles"
.
在命令行上,我可以使用 cmake -G "Visual Studio 15 2017"
来编译我的代码。
如何设置 CLion 以使用 Visual Studio 生成器?
注意:我在 CLion 中使用 Visual Studio compiler。
现在在 CLion 中是不可能的。它不支持其他生成器。仅适用于 MSVC 的 NMake Makefile,以及所有其他情况下的常用 Makefile。
在 CLion 2017.2.1
中,我不知道如何在 IDE CMake 选项中设置生成器 -G "Visual Studio 15 2017"
。 CLion 命令行始终包含 -G "CodeBlocks - NMake Makefiles"
.
在命令行上,我可以使用 cmake -G "Visual Studio 15 2017"
来编译我的代码。
如何设置 CLion 以使用 Visual Studio 生成器?
注意:我在 CLion 中使用 Visual Studio compiler。
现在在 CLion 中是不可能的。它不支持其他生成器。仅适用于 MSVC 的 NMake Makefile,以及所有其他情况下的常用 Makefile。