Hi Eric,
thanks for the quick answer. Unfortunately, i still have the same
problem. Now to simplify this, i've set up a very simple test project
with the following directory layout (now on a unix machine, also did a
cvs update):
~/Work/test/README
~/Work/test/util/pub/a.h
~/Work/test/util/priv/a.cpp
with a.cpp:
#include "a.h"
a::a()
{
int b;
};
and a.h:
class a
{
public:
a();
};
My stripped down init.el just has these lines in it:
(setq semantic-load-turn-everything-on t)
(load-file "~/.emacs.d/lisp/cedet/common/cedet.el")
(ede-cpp-root-project "example" :file "~/Work/test/README" :include-path
'( "pub" "priv" "/util/pub" ))
;;(ede-cpp-root-project "example" :file "~/Work/test/README"
:include-path '( "pub" "priv" ))
(defun my-c-mode-common-hook ()
(semantic-default-c-setup))
(add-hook 'c-mode-common-hook 'my-c-mode-common-hook)
Now, when i'm opening a.cpp, semantic somehow still does not find a.h
(confirmed that with semanticdb-find-adebug-lost-includes).
Somehow, i feel like i'm missing something really obvious but just
can't see it.
Kai
|