semantic does not parse out of directory symbols

Xaver Gerster <[email protected]> Sat, 11 Oct 2014 10:07:26 +0200
Newsgroups gmane.emacs.semantic
Message-ID <[email protected]>
Hi,

I cannot get semantic to parse symbols which are included from files 
which reside outside of the directory where I currently work in.

For example, say, I have an automake project with several 
subdirectories, containing projects with several targets and a minimal 
directory/project structure like this

directoy-top:
   Project.ede
   ...
   configure
   AUTHORS
   other files
   ...
   directory-sub1
     Project.ede
     ...
     main.cc
     Aheader.h
     ...
     other files
     ...
   directory-sub2
     Bheader.h
     nicelib.so
     ...
     other files

Here,
main.cc includes symbols from Aheader.h
and
Aheader.h includes symbols from Bheader.h

On the level of compilation, the latter is implemented as usual by 
standard '-I ../directory-sub2' / '-L ../directory-sub2' preprocessor / 
linker CPPFLAGS / LDFLAGS flags. They are contained within the *.ede 
project configuration files.

Now, when I work on main.cc or Aheader.h and do M-x 
semantic-ia-fast-jump, then, semantic *will* jump to symbols which are 
either from files in directory-sub1 or in system-wide include files.

*However*, if working on Aheader.h, I want to look up a symbol which is 
contained in Bheader.h I get

semantic-ia-fast-jump: Could not find suitable jump point for xyz

I tried various ways of setting semanticdb roots and and include paths 
but I remain stuck with this error message.

Any help would be most appreciated.

Xaver


------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://p.sf.net/sfu/Zoho