[CMake] eclipse generator and sibling folders
Eric Noulard
eric.noulard at gmail.com
Mon May 4 04:36:26 EDT 2009
2009/5/4 Antoine DUCHAMPS <antoine.duchamps at gmail.com>:
> 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?
You have to add the folder containing the .h files in the list of
"includes" for the project.
Use
Properties on the Project
--> C/C++ General
--> Path and Symbols
--> C++
works for me, "most of the time", I say most of the time since I do have
some C++ header bloated with macros for which completion does not work at all.
--
Erk
More information about the CMake
mailing list