Thanks for sharing links.
I will take a look at them.
EDE optimizes for include paths as a way of making operations faster by not listing every include.
It also is careful in case there is more than one occurrence of a header name, you can make your paths relative to get the correct one based on file location. Things are speediest if you have a nice optimized path.
Lastly, if you have GNU Global installed (or a few other tools, see the doc string for ede-locate-setup-options) you can run one of those tools on your project to create a database, and EDE will query your database to find include files. I've had good luck with GNU Global for this.
If you visit cedet.sf.net there are links to some good resources, such as:
plus a few short pages listed at the top of the side-bar that would be useful.
There are also all the manuals in the doc directory. The generic 'cedet.info' file is a good s tarting point. There are many different target applications for CEDET, so there is no 'one way' to set things up.
On 09/17/2012 01:56 AM, Nitin Bodke wrote:
I use following snippet to arrange my Project.el files.
;; Create a Project.ede equivalent for ede-simple-project
;; by telling Emacs to load Project.el files
(defun check-for-Project-el ()
(if (file-exists-p "Project.el")
(add-hook 'find-file-hook 'check-for-Project-el)
This takes care of loading Project.el when any file in the project is
My includes are scattered in directories in the project, and Makefile
them during compilation.
Is there any way to tell force ede to search includes in all the
Can you please share the steps to setup CEDET development environment in
i.e. develop and debug
This will really help me in long-term.
On Sat, Sep 15, 2012 at 10:59 PM, Eric M. Ludlam <email@example.com<mailto:firstname.lastname@example.org>> wrote:http://stackoverflow.com/__questions/3519965/emacs-__source-code-navigation-__features
On 09/14/2012 07:31 AM, Nitin Bodke wrote:
My situation is a bit similar to what explained in below post::file "<project-root-directory>/__Project.el"
Source is code is quite big i.e. more than 6k files, and I have
MakeFiles in all
folders that takes care of my build.
My project file is similar to below lines:
:directory "<project-root-directory>"eieio-generic-call-primary-__only: Method ede-expand-filename
:include-path '( "<project-root-directory>"
With this, files in the same folder are parsed successfully, and
But cross-folder includes are not resolved and they make to the
ede-find-file for unresolved files results in following error:(load-file "<project-root-directory>/__Project.el")
called on nil
Is there any solution to this?
I believe I can better utilize this environment by
more to it.
How to setup development environment for CEDET? This will help
me to address
unresolved issues and contribute back.
Hi Nitin, Welcome to the list.
First, your project file containing the ede-cpp-root-project needs
to be loaded. If you use a system that makes Project.el load, then
perhaps you are ok, but you probably need to add a line like this:
in your .emacs to force it earlier. Once you do that, the EDE
project should be recognized.
Your include path will need to contain all the subdirectories that
have includes in the way the actual include statements are used.
For example, if a C include says:
and the header is referenced from your project root directory (prd)
you will be ok, but if the 'foo' directory is in some subdir, you
need an extra line inf your :include path of:
where the leading / means start at the base of the project.
That should get you going.
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
Cedet-devel mailing list