view build/opengl.txt @ 399:e40f33cc0bf5

Explicitly include qglobal.h before all the ?master includes?. This makes sure that macros like Q_CORE_EXPORT are already defined for all parsed header files. Starting with this commit, QtD should build successfully against the pre-built Cocoa packages on OS X 10.6.
author David Nadlinger <code@klickverbot.at>
date Sun, 16 Jan 2011 00:56:21 +0100
parents 8b0544bee5f2
children
line wrap: on
line source

set(required Core Gui)
set(classes 
    QGLColormap
    QGLContext
    QGLFormat
    QGLFramebufferObject
    QGLPixelBuffer
    QGLWidget
    )
set (d_qt_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)