[cedet-semantic] Including files from subdirs
Brought to you by:
zappo
From: Michael R. <re...@gm...> - 2008-05-22 21:24:26
|
Hi I was under the impression that semantic finds tags from files in subdirectories below semanticdb-project-roots... but somehow it doesn't. Say I have a file: /path/xyz/main.cpp and a file: /path/xyz/sub/ccc.h semanticdb-project-roots contains /path/xyz/ and the files look like: ccc.h: class CCC { public: CCC(); ccc( int x ); }; ------- main.cpp: #include "ccc.h" int main( int argc, char **argv ) { CCC c; c.-!- } Now the help for semanticdb-project-roots says: "All subdirectories of a root project are considered a part of one project." So I thought semantic would find completions for "c.". It doesn't. Should it? Including the file via "sub/ccc.h" works fine. IMHO it would be good if including without the subdir worked as well, as often projects you browse include files just like that and then have a couple of included paths set in the compile command. Right now I have to specify a lot of semanticdb-project-roots for all subdirs or modify the include statements ... or am I missing something? Greets Michael |