Version: (using KDE 4.2.3) Compiler: gcc-Version 4.3.2 (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) OS: Linux Installed from: Gentoo Packages When using this layout ./hbridge.kdev4 ./CMakeLists.txt ./tasks ./tasks/test.cpp ./tasks/CMakeLists.txt ./tasks/test.hpp ./.kdev4 ./.kdev4/hbridge.kdev4 ./.orogen ./.orogen/tasks ./.orogen/tasks/bla.inst ./.orogen/tasks/testBase.cpp ./.orogen/tasks/testBase.hpp Kdevelop does not recognise the files in any of the tasks directories. As this is a simple test project I did to find the bug, I'll attach it
Created attachment 33644 [details] test scenario for the bug
The problem is the non-relative subdirectory adding. Nobody does that this way :P. I'll fix it ASAP. Thanks :)
Fixed ^^
I'm sorry to reopen the bug, but it never worked for me. I'm using gentoo svn ebuild. Kdevelop and kdevplatform are at svn rev 972834. Should I provide some debug logs ?
I know Aleix comitted something related, but maybe he didn't catch all problems. I can also see the problem here - two "tasks" entries, but no ".orogen" and no files either.
Well, this week I'm really busy. I'll take a look this weekend the later. Sorry for that.
SVN commit 975642 by apol: Fixed the relative detection system. I'm not sure why didn't it work before. This fix is leaving a tree that missrepresents the FS structure. BUG: 192610 M +6 -7 cmakemanager.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=975642
Just wondering... why don't you use the cmake-way to add subdirectories?
Tested it, and it works now ;-) I have no influence on the cmake files, as the are generated together with some C++ classes.