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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
0a29ce1ae854 CMake build script.
SokoL_SD
parents:
diff changeset
1 ##QTD_OPENGL += opengl/QGL opengl/gl opengl/glu opengl/glfuncs opengl/gltypes
0a29ce1ae854 CMake build script.
SokoL_SD
parents:
diff changeset
2
0a29ce1ae854 CMake build script.
SokoL_SD
parents:
diff changeset
3 ## Qt Lib name.
0a29ce1ae854 CMake build script.
SokoL_SD
parents:
diff changeset
4 set(lib_name QtOpenGL)
0a29ce1ae854 CMake build script.
SokoL_SD
parents:
diff changeset
5
0a29ce1ae854 CMake build script.
SokoL_SD
parents:
diff changeset
6 set(link_cpp ${cpp_core_implib} ${cpp_gui_implib} ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTOPENGL_LIBRARY})
0a29ce1ae854 CMake build script.
SokoL_SD
parents:
diff changeset
7
0a29ce1ae854 CMake build script.
SokoL_SD
parents:
diff changeset
8 set(link_d qtdcore)
0a29ce1ae854 CMake build script.
SokoL_SD
parents:
diff changeset
9
0a29ce1ae854 CMake build script.
SokoL_SD
parents:
diff changeset
10 set(classes
0a29ce1ae854 CMake build script.
SokoL_SD
parents:
diff changeset
11 QGLWidget
0a29ce1ae854 CMake build script.
SokoL_SD
parents:
diff changeset
12 QGLContext
0a29ce1ae854 CMake build script.
SokoL_SD
parents:
diff changeset
13 QGLFormat
0a29ce1ae854 CMake build script.
SokoL_SD
parents:
diff changeset
14 QGLColormap
0a29ce1ae854 CMake build script.
SokoL_SD
parents:
diff changeset
15 )
0a29ce1ae854 CMake build script.
SokoL_SD
parents:
diff changeset
16
0a29ce1ae854 CMake build script.
SokoL_SD
parents:
diff changeset
17 if(${CMAKE_SYSTEM_NAME} STREQUAL Windows)
0a29ce1ae854 CMake build script.
SokoL_SD
parents:
diff changeset
18 set(link_example opengl32 glu32)
0a29ce1ae854 CMake build script.
SokoL_SD
parents:
diff changeset
19 endif(${CMAKE_SYSTEM_NAME} STREQUAL Windows)