[Cmake] FindOpenGL and Windows

Anton Deguet anton at cs.jhu.edu
Thu Sep 2 15:43:57 EDT 2004


Hello,

We are using the NVidia SDK 8 for some specific extensions as well as
CG.  The files GL.h and gl.h from NVidia and Microsoft certainly
differs.  They could be equivalent, but the number of differences one
can see using WinDiff is too high for me to tell.

I guess this OPENGL_INCLUDE_DIR has been added to support multiple
versions of OpenGL on the same computer.  It is defined for CMAKE/Unix 
and there is a similar variable for GLUT_INCLUDE_DIR (both Windows and
Unix), is there any reason to not have this variable?

Sincerely,

Anton



On Thu, 2004-09-02 at 15:20, William A. Hoffman wrote:
> Is the gl.h different for the NVIDIA SDK?  Or are there other files
> that you need to include?
> 
> -Bill
> 
> 
> At 01:44 PM 9/2/2004, Anton Deguet wrote:
> >Hello,
> >
> >I'm building my application using OpenGL and OpenGL extensions on 
> >Windows.  I have the gl.h and the extension header files in a special
> >directory that comes with the NVIDIA  SDK distribution, not  with the
> >.net compiler.  In other words, I have a non-standard location for the
> >OpenGL header files.
> >CMake comes with a FindOpenGL module that is supposed to take care of
> >OpenGL header files.  It defines a OPENGL_INCLUDE_DIR variable for unix
> >and cygwin.  But it does not define it for Windows.  Of course, I can
> >have my own variable.  But I thought that the implementation would be
> >more complete if the provided module already has that.
> >
> >Could FindOpenGL.cmake to define the search path for Windows as well?
> >
> >Setup: CMake 2.0.3 for Windows.  Compiler: .NET 7
> >
> >
> >Thanks,
> >
> >Anton
> >
> >
> >
> >
> >
> >-- 
> >Anton Deguet                          Systems Engineer
> >ERC CISST                     Johns Hopkins University
> >http://cisstweb.cs.jhu.edu                410 516 5261
> >
> >_______________________________________________
> >Cmake mailing list
> >Cmake at www.cmake.org
> >http://www.cmake.org/mailman/listinfo/cmake
> 
> _______________________________________________
> Cmake mailing list
> Cmake at www.cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
-- 
Anton Deguet                          Systems Engineer
ERC CISST                     Johns Hopkins University
http://cisstweb.cs.jhu.edu                410 516 5261



More information about the Cmake mailing list