TJ1
TJ1

Reputation: 8498

How to export a C program that compiles from command line in Linux to an IDE?

There are a lot of open source C/C++ projects, most of them can be compiled using "make" in Linux. Is there any easy way to export this to an IDE, for example Microsoft Visual C++, CodeBlock, or Eclipse? Even if it is an involved work, is there any step by step help for doing that?

Thanks for the help.

TJ

Upvotes: 1

Views: 1105

Answers (1)

manasij7479
manasij7479

Reputation: 1695

Considering that most (if not all) of the IDEs support importing a makefile or cmake based project, that should be a no-brainer.

Be careful about configure scripts though, as they generally do important stuff not supported automatically by an IDE. In fact, build systems like cmake, premake and scons were invented because there was no standard way for an IDE to know what a script is doing. (That, while sacrificing flexibility, makes the system standard.)

Upvotes: 1

Related Questions