view build/opengl.txt @ 265:6cd923119ab1

Another attempt for supporting MacOS. Now qtjambi_masterinclude.h is generated in the cmake script and contains absolute paths. See, http://www.dsource.org/forums/viewtopic.php?t=4745&sid=2657de5e8bc30456762ad8a4990afeed
author SokoL_SD
date Mon, 07 Sep 2009 15:23:31 +0000
parents 63c31e221118
children 80b52f5e97b6
line wrap: on
line source

set(required Core Gui)
set(classes 
    QGLColormap
    QGLContext
    QGLFormat
    QGLFramebufferObject
    QGLPixelBuffer
    QGLWidget
    )
set (d_files opengl/gl  opengl/glfuncs  opengl/gltypes  opengl/glu)
if(${CMAKE_SYSTEM_NAME} STREQUAL Windows AND D_IS_MARS)
    set(link_example opengl32 glu32)
    install(FILES lib/opengl32.lib lib/glu32.lib DESTINATION lib)
endif(${CMAKE_SYSTEM_NAME} STREQUAL Windows AND D_IS_MARS)