Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Indexer Question - Discovery?
Indexer Question - Discovery? [message #174873] Tue, 15 August 2006 12:26 Go to next message
Eclipse UserFriend
Originally posted by: ransomstark.gmail.com

I'm working on a large existing project. I want to use Eclipse with CDT.

- I have my directory structure with source files.
- There are a lot of subdirectories in this tree, and I don't want to add
them all one by one.
- How do I add directories to the indexer includes recursively?

I honestly thought it would all all the directories in the project.
Does it have something to do with not having run a make compile?
How does CDT indexer discover? It doesn't look in the build logs or
something does it?

Thanks in advance.

LA
Re: Indexer Question - Discovery? [message #174889 is a reply to message #174873] Tue, 15 August 2006 15:55 Go to previous messageGo to next message
Eclipse UserFriend
There's a discovery mechanism that parses the output of a build.

You should be able to import a build log, see project properties > C/C++
Make Project > Discovery Options.

I don't know how tied to make/gcc this discovery is if you are using
something else to build.

-Andrew

Lloyd Atkinson wrote:
> I'm working on a large existing project. I want to use Eclipse with CDT.
>
> - I have my directory structure with source files.
> - There are a lot of subdirectories in this tree, and I don't want to
> add them all one by one.
> - How do I add directories to the indexer includes recursively?
> I honestly thought it would all all the directories in the project.
> Does it have something to do with not having run a make compile?
> How does CDT indexer discover? It doesn't look in the build logs or
> something does it?
>
> Thanks in advance.
>
> LA
>
Discovery not disabled [message #183852 is a reply to message #174889] Tue, 06 February 2007 15:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: billstei.yahoo.com

In the Window->Preferences->C/C++->Make->New Make Projects->Discovery
Options, I have unchecked "Automate discovery of paths and symbols", yet
when I create a Managed Make C++ Project, I still get several default
(unchangeable) Include paths, which I do not want because I am trying to
set up a cross compile. Bug, or am I missing something?

Eclispe 3.2.1
CDT 3.1.1.20060927
Ubuntu 6.10

Bill
Re: Discovery not disabled [message #183861 is a reply to message #183852] Tue, 06 February 2007 19:00 Go to previous message
Eclipse UserFriend
Originally posted by: billstei.yahoo.com

Further testing shows that Managed Make project creation ignores the
Discovery Preferences (I assume which are supposed to be Workspace-wide),
while Standard Make project creation uses the preferences. This is also
the case when Discovery is enabled (and the generate scanner info command,
gcc, is replaced with the cross-compiler name), i.e. Std uses the enabled
prefs and Managed ignores them. I can see no reason why Managed Make
project creation should not make (ha) use of these prefs. Bug?
Previous Topic:Executable and Library in one project
Next Topic:Managed Make File not built
Goto Forum:
  


Current Time: Tue Jul 22 16:22:21 EDT 2025

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

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

Back to the top