hi Miguel,

thanks for responding!

I'm sorry, I had misunderstood the wiki page. I've followed the steps
and I can navigate the source code now. 

However, the code completion does not work. My application is linked to
an external library (ITK) and I would like to have code completion for
the ITK classes. In kdevelop you have to import the folders containing
the .h files. Do you know how it works in eclipse?

thanks!

antoine


Le jeudi 30 avril 2009 à 18:21 -0400, Miguel A. Figueroa-Villanueva a
écrit :
> On Thu, Apr 30, 2009 at 7:54 AM, Antoine DUCHAMPS wrote:
> [...]
> > sugest to create source and build folders as "siblings". From this I
> > understand that I have to folders like
> >
> > /home/user/project-src
> > /home/user/project-bin
> >
> > So, how can be the source inside the project? I assume that I have to
> > call ccmake as usual, i.e. :
> >
> > cd /home/user/project-bin
> > ccmake -G"Eclipse CDT4 - Unix Makefiles" ../project-src
> 
> Yes, this is the recommended way.
> 
> > (Of course this works but I cannot navigate the source code after
> > importing the project into eclipse ... )
> 
> There should be a linked resource per each 'project(XXX)' command in
> your CMakeLists.txt that allows you to do that.
> 
> > Could anybody tell me what I'm doing wrong?
> 
> Nothing that I can see from your description. If you create a minimal
> example that exhibits the problem. You can send it to me and I can try
> it to see if there is a problem.
> 
> BTW, what Eclipse, Eclipse CDT, and CMake version are you using?
> 
> --Miguel

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to