view build/opengl.txt @ 396:d0a103f25091

Work around CTFE regression in DMD. The error message emitted by DMD 2.051 was ?Declaration (string, ?, string) allSymbols = tuple("__ctor", ?, "__T8Q_OBJECTZ") is not yet implemented in CTFE?.
author David Nadlinger <code@klickverbot.at>
date Mon, 03 Jan 2011 08:06:13 +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)