Legacy C ++ project using Makefile..moving for Eclipse IDE?
I have a legacy C ++ project on Linux that uses the typical one:
./configure
make
make install
for assembly and installation. I would really like to create one instead of an IDE like Eclipse.
Is it doable? Is there something in Eclipse that can parse the original Makefile and turn it into an Eclipse project?
a source to share
See article:
Build UNIX Software with Eclipse
Bringing Legacy Code to a Modern IDE Chris Herbort (chrish@pobox.com)
a source to share
Using Eclipse with the CDT plugin will allow you to use it for C / C ++ projects, and you can tell it to use the Makefile to build your project. You just need to create a Makefile project. You may have to say that this will allow you to manage the Makefiles, not do that - I don't remember from the beginning, but there should be no problem configuring Eclipse to use pre-existing Makefiles to create a pre-existing project. I've done this before.
You will need to specify where the include directories are and what macros to assume in order for things like code completion to work correctly (I don't know how Eclipse can figure this out for you), so it's definitely definite that you will need to be done. But it definitely works.
Just grab the C ++ version of Eclipse from their site (it comes with all suitable C / C ++ plugins, t track them down) and you can look at the CDT site for documentation, FAQs, etc.
Edit: I don't know how well you can get it to work with the setup. This is not what I have tried. Makefiles work fine though.
a source to share