Mercurial > projects > qtd
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/build/opengl.txt Wed May 13 19:01:55 2009 +0000 @@ -0,0 +1,19 @@ +##QTD_OPENGL += opengl/QGL opengl/gl opengl/glu opengl/glfuncs opengl/gltypes + +## Qt Lib name. +set(lib_name QtOpenGL) + +set(link_cpp ${cpp_core_implib} ${cpp_gui_implib} ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTOPENGL_LIBRARY}) + +set(link_d qtdcore) + +set(classes + QGLWidget + QGLContext + QGLFormat + QGLColormap + ) + +if(${CMAKE_SYSTEM_NAME} STREQUAL Windows) + set(link_example opengl32 glu32) +endif(${CMAKE_SYSTEM_NAME} STREQUAL Windows)