annotate build/opengl.txt @ 4:0a29ce1ae854
CMake build script.
Small fixes in examples.
author |
SokoL_SD |
date |
Wed, 13 May 2009 19:01:55 +0000 |
parents |
|
children |
b8a79f9fba5a |
rev |
line source |
4
|
1 ##QTD_OPENGL += opengl/QGL opengl/gl opengl/glu opengl/glfuncs opengl/gltypes
|
|
2
|
|
3 ## Qt Lib name.
|
|
4 set(lib_name QtOpenGL)
|
|
5
|
|
6 set(link_cpp ${cpp_core_implib} ${cpp_gui_implib} ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTOPENGL_LIBRARY})
|
|
7
|
|
8 set(link_d qtdcore)
|
|
9
|
|
10 set(classes
|
|
11 QGLWidget
|
|
12 QGLContext
|
|
13 QGLFormat
|
|
14 QGLColormap
|
|
15 )
|
|
16
|
|
17 if(${CMAKE_SYSTEM_NAME} STREQUAL Windows)
|
|
18 set(link_example opengl32 glu32)
|
|
19 endif(${CMAKE_SYSTEM_NAME} STREQUAL Windows)
|