Mercurial > projects > qtd
comparison build/opengl.txt @ 7:b8a79f9fba5a
More fixes and cleanups in CMake build script.
author | SokoL_SD |
---|---|
date | Thu, 14 May 2009 08:36:04 +0000 |
parents | 0a29ce1ae854 |
children | 907d517d37c6 |
comparison
equal
deleted
inserted
replaced
6:374a61671448 | 7:b8a79f9fba5a |
---|---|
1 ##QTD_OPENGL += opengl/QGL opengl/gl opengl/glu opengl/glfuncs opengl/gltypes | 1 set(link_cpp cpp_core cpp_gui ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTOPENGL_LIBRARY}) |
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 | 2 set(classes |
11 QGLWidget | 3 QGLWidget |
12 QGLContext | 4 QGLContext |
13 QGLFormat | 5 QGLFormat |
14 QGLColormap | 6 QGLColormap |
15 ) | 7 ) |
16 | |
17 if(${CMAKE_SYSTEM_NAME} STREQUAL Windows) | 8 if(${CMAKE_SYSTEM_NAME} STREQUAL Windows) |
18 set(link_example opengl32 glu32) | 9 set(link_example opengl32 glu32) |
19 endif(${CMAKE_SYSTEM_NAME} STREQUAL Windows) | 10 endif(${CMAKE_SYSTEM_NAME} STREQUAL Windows) |