[CMake] CMake + Eclipse on OS X : OpenGL and GLUT headers

Alexander Neundorf a.neundorf-work at gmx.net
Mon Jul 23 19:28:24 EDT 2012


On Sunday 01 July 2012, Nicholas Yue wrote:
> Hi,
> 
>      I am using CMake 2.8.8
> 
>      I have been generating Eclipse project and building my software
> successfully both on the command line and within Eclipse.
> 
>      However, when I open up my project in Eclipse, the indexer fails to
> find the necessary headers for OpenGL and GLUT
> 
>      Moreover, I noticed the following via ccmake
> 
>      GLUT_INCLUDE_DIR /System/Library/Frameworks/GLUT.framework/Headers
>      OPENGL_INCLUDE_DIR /System/Library/Frameworks/OpenGL.framework
> 
>      Note the differences in the directory "Headers"
> 
>      Is there additional steps for the OS X platform so that code
> completion and C++ indexer works properly when using OpenGL and GLUT on
> OS X when generating Eclipse project files via CMake.

Just for reference, a ticket has been created for this:
http://public.kitware.com/Bug/view.php?id=13367

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120724/6ba59bea/attachment.htm>


More information about the CMake mailing list