Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Generating CDT projects files from g++ makefile(Generating CDT projects files from g++ makefile)
Generating CDT projects files from g++ makefile [message #1234807] Wed, 22 January 2014 21:32 Go to next message
Sean K is currently offline Sean KFriend
Messages: 2
Registered: January 2014
Location: San Diego, CA
Junior Member
Hi,

I an newbie to CDT, and thrown into a project with 100K lines of C++/C code for linux.

And they have been using cmake, Makefile, and vi for years.

Is there an automated way to generate .settings, .project, and other CDT project files settings from the makefile?

(similar to the way that maven can generate eclipse project files from the command line mvn eclipse:eclipse?)

Re: Generating CDT projects files from g++ makefile [message #1235450 is a reply to message #1234807] Fri, 24 January 2014 11:59 Go to previous messageGo to next message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1967
Registered: July 2009
Senior Member
You can create an Eclipse Makefile project and then use the existing Makefile
http://help.eclipse.org/kepler/topic/org.eclipse.cdt.doc.user/getting_started/cdt_w_import.htm?cp=9_1_3
Or you can let cmake create the Eclipse project files.


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Re: Generating CDT projects files from g++ makefile [message #1257675 is a reply to message #1235450] Wed, 26 February 2014 17:37 Go to previous message
Sean K is currently offline Sean KFriend
Messages: 2
Registered: January 2014
Location: San Diego, CA
Junior Member
What are the options for cmake generating the eclipse project files and settings?


This is for a large set of existing cmake based projects.
Previous Topic:dbg debugger is not working properly
Next Topic:How to enable source level debugging with gdb?
Goto Forum:
  


Current Time: Wed Nov 26 00:50:55 GMT 2014

Powered by FUDForum. Page generated in 0.03032 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software