如何从Eclipse CDT打开vcproj文件? [英] How to open a vcproj file from Eclipse CDT?

查看:158
本文介绍了如何从Eclipse CDT打开vcproj文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道,这个问题已经已被问到,但答案不满足我的要求。



那么有没有办法导入Visual Studio项目及其所有参数在Eclipse CDT?
如果是,我该怎么做?



如果你想了解更多有关我的情况的细节,那就是:



我正在加入一个相当大的协作C ++项目,拥有一个复杂的存储库和许多子项目。这些子项目中的每一个最初都是使用Visual Studio开发的,构建链的参数存储在vcproj文件中。



然而,我强烈地反对使用Visual Studio,使用Eclipse CDT更加高效,并且无法访问Windows机器,所以我很乐意为了了解整个构建过程而不会放松几周...

解决方案

有可能是您的问题的一个错误的答案,我相信解决方案不是将vcproj转换为EClipse CDT项目。您应该使用更好的构建工具链(例如CMake)。一旦这样的工具链就位,您可以从相同的构建配置文件中创建一个Visual Studio项目,一个EClipse CDT项目,一个QtCreator项目,一个XCode项目...。


$ b $这样,当下一个IDE的C ++出现时,没有人会浪费时间转换项目文件。


I know, the question has already been asked but the answer doesn't meet my requirements.

So is there is any way to import a Visual Studio project with all its parameters in Eclipse CDT ? If yes, how could I do that ?

If you want to know more details about my situation, there it is :

I am joining a rather big collaborative C++ project, with a complex repository and many sub-projects. Each of these sub-projects was initially developed with Visual Studio, and the parameters of the build chain are stored in a vcproj file.

Yet, I strongly resent the use of Visual Studio, am more efficient with Eclipse CDT, and don't have access to a Windows machine, so I would be really happy to not loose weeks in order to understand the whole building process...

解决方案

With the risk of being a detracted answer from your question, I believe that the solution is NOT to convert a vcproj to an EClipse CDT project. You should use a better build toolchain (e.g. CMake). Once such a toolchain is in place, you can create a Visual Studio project, an EClipse CDT project, a QtCreator project, a XCode project, ... from the same build configuration files.

That way, when the next IDE for C++ comes along, nobody will be wasting their time converting project files.

这篇关于如何从Eclipse CDT打开vcproj文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆