Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Importing a source tree
Importing a source tree [message #166736] Wed, 29 March 2006 06:00 Go to next message
Eclipse UserFriend
Originally posted by: gareth.foster.siemens.com

Hello,

I have an existing source tree that I would like to use in Eclipse with
CDT. The only way I can see to use this tree is to 'import' it, but that
means copy, and that is not what I want to do, I want to edit the files
where they are.

The project is on a ClearCase dynamic view (essentially a mapped drive
under windows), I have the ClearCase plugin installed. The source uses
makefiles. I am not interested in building it from Eclipse.

What is the best way to do this? Can anyone help?

Regards,

Gareth
Re: Importing a source tree [message #166777 is a reply to message #166736] Wed, 29 March 2006 09:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: thomas.stephens.gmail.com

Hi,
If you are not planning to use eclipse to build but just edit the code
you can always just create a Standard Make Project and on the first page
of the creation wizard uncheck the box by the "use default" option in
the Project contents section. Then just enter the path to the root of
the source tree. This will create the eclipse project in that directory
and you then work on the files directly.

- Tom

Gareth Foster wrote:
> Hello,
>
> I have an existing source tree that I would like to use in Eclipse with
> CDT. The only way I can see to use this tree is to 'import' it, but that
> means copy, and that is not what I want to do, I want to edit the files
> where they are.
>
> The project is on a ClearCase dynamic view (essentially a mapped drive
> under windows), I have the ClearCase plugin installed. The source uses
> makefiles. I am not interested in building it from Eclipse.
>
> What is the best way to do this? Can anyone help?
>
> Regards,
>
> Gareth
>
Re: Importing a source tree [message #166800 is a reply to message #166777] Thu, 30 March 2006 00:47 Go to previous message
Eclipse UserFriend
Thomas,

> you can always just create a Standard Make Project and on the first page
> of the creation wizard uncheck the box by the "use default" option in the
> Project contents section. Then just enter the path to the root of the
> source tree. This will create the eclipse project in that directory and
> you then work on the files directly.

that's one way to do it, which has the side-effect that the project files
(.project, .cdtproject) are created in the CC dynamic view. If that is a
problem you can also create the project in the default location and then
create a linked folder which points to the sources in the dynamic view.

Greetings,


Norbert Ploett
Previous Topic:Error message when compiling using automake Makefile
Next Topic:CDT Managed Build UI crash- how to debug?
Goto Forum:
  


Current Time: Tue May 13 00:50:57 EDT 2025

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

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

Back to the top