开发者

Simultaneus development in Visual Studio and a Linux IDE

开发者 https://www.devze.com 2023-01-18 03:00 出处:网络
I am trying to get started with an existing open source project (QuantLib) using Linux operating system. However it seems that most developers use Visual Studio (judging from the project files committ

I am trying to get started with an existing open source project (QuantLib) using Linux operating system. However it seems that most developers use Visual Studio (judging from the project files committed with the source).

Which Linux C++ IDE would be most compatible with VS project files? Is there a way to import/export them, so that I don't have to create my own projects from scratch (and update them every time someone adds a new file)?

EDIT: Its all unmanaged code开发者_如何学运维


In my experience, the best method for doing dual-development on Linux & Windows is to throw away the existing Visual Studio project files and, instead, use CMake to generate the platform-specific build environment. It's capable of outputting Nmake makefiles (for command-line Windows builds), Visual Studio projects, and Linux makefiles. The documentation leaves a bit to be desired but once you have it up and running, it's very easy to maintain.


The FAQ provides installation instructions for MinGW. It seems that there is a GNU Makefile included, so you don't need to mess with Visual Studio project files.


Aparantly they they only build on MAC and Windows.

Instructions here: http://quantlib.org/install/macosx.shtml

But since MAC is basically BSD Unix it should be identical (or with little trouble) to get it up and running on Linux.

The following should work (though you may need to look at the configure options)

1) Install Boost.
2) ./configure
3) make


You'll definitely want to check out Mono, it might be just what you're looking for: http://monodevelop.com/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号