How to open a vcproj file from Eclipse CDT?

后端 未结 2 604
春和景丽
春和景丽 2021-02-03 10:45

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 parameter

相关标签:
2条回答
  • 2021-02-03 11:33

    I think you're asking the wrong question. As you've found, the .vcproj describes the build process (in addition to the list of files), and that strongly depends on the MS compiler toolchain being available.

    A better alternative (though harder to implement late in the lifetime of a project) is to use free tools such as Premake and JamPlus (just to name a few) to decouple the list of files from the build process. This is especially useful for multiplatform projects, as each developer can use their preferred editor and toolchain to contribute to the project.

    That being said, I do believe Visual Studio can run under Wine... ;)

    0 讨论(0)
  • 2021-02-03 11:49

    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.

    0 讨论(0)
提交回复
热议问题