简体   繁体   English

是否有任何支持 CMake 的 Windows IDE?

[英]Is there any Windows IDE with CMake support?

I'm developing game in Linux using CMake and KDevelop and I'd like to make it cross-platform.我正在使用 CMake 和 KDevelop 在 Linux 中开发游戏,我想让它跨平台。

I'm looking any Windows IDE with good CMake support like Kdevelop has, autocompletion, project building and launching should be enough to write some platform specific code.我正在寻找任何具有良好 CMake 支持的 Windows IDE,例如 Kdevelop,自动完成、项目构建和启动应该足以编写一些特定于平台的代码。

You can try with Eclipse CDT, which is advocated to be cross platform and should behave well on Windows platform;可以尝试使用Eclipse CDT,它提倡跨平台,在Windows平台上应该表现良好; then run cmake GUI to generate CDT project files so you can open them using Eclipse.然后运行 ​​cmake GUI 生成 CDT 项目文件,以便您可以使用 Eclipse 打开它们。

Another option is to generate Visual Studio sln files which can be opened in Visual Studio.另一种选择是生成可以在 Visual Studio 中打开的 Visual Studio sln文件。

There are several IDEs supporting natively CMake (Not exhaustive list):有几个 IDE 支持本地 CMake(并非详尽列表):

  • QtCreator QtCreator
  • KDevelop ( you have a windows version, however last time I tried, it was significantly worse than the Linux version ) ... KDevelop(你有一个 windows 版本,但是我上次尝试时,它比 Linux 版本差很多)...

There are also some IDEs which do not support CMake, but CMake made hacks to you can generate project for them:还有一些支持 CMake 的 IDE,但是 CMake 给你做的 hack 可以为它们生成项目:

  • Visual Studio视觉工作室
  • Xcode Xcode
  • Eclipse CDT?日蚀CDT?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM