跨平台 C++也支持 Objective-C 的 IDE?
我有一些项目,其中大部分代码都是用与平台无关的 C++ 编写的,每个受支持的平台都有一个相对较薄的平台抽象层。对于大多数平台,这个抽象层也是用 C++ 编写的,但对于 iOS 和 OSX,它还包含一些 Objective-C 代码。因此,我有用于 iOS / OSX 构建的 Xcode 项目和用于 Windows 的 Visual Studio 项目,但我有点厌倦了必须维护多个项目文件。
如果只有一个跨平台 IDE、该 IDE 的一个项目文件,然后将所有源文件添加到其中,并使其中一些文件仅在某些配置中包含在构建中,那就太好了。但为此,我需要一个在多个平台(Windows、OSX,最好是 Linux)上运行的 IDE,并且不仅支持 C++,还支持 Objective-C 源文件。有这样的事吗?
I have a few projects where most of the code is written in platform-agnostic C++, with a relatively thin platform abstraction layer for each supported platform. For most platforms this abstraction layer is also written in C++, but for iOS and OSX it also contains some Objective-C code. For this reason, I have Xcode projects for the iOS / OSX builds, and Visual Studio projects for Windows, but I'm a bit tired of having to maintain multiple project files.
It would be so nice to only have one cross-platform IDE, one project file for that IDE, then just add all source files to that, and make some of them included in the build only in certain configurations. But for that I'd need an IDE that runs on multiple platforms (Windows, OSX, preferably linux too), and supports not only C++, but Objective-C source files as well. Is there such a thing?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你可以试试QtCreator。它是一个为 Qt 开发的跨平台 IDE,但它也支持 Objective-c:
http://qt-project.org/downloads
You can try QtCreator. It's a cross-platform IDE developed for Qt but it supports Objective-c too:
http://qt-project.org/downloads