Mercurial > projects > qtd
annotate build/opengl.txt @ 27:a9626891eca6
CMake: generator will work only for needed packages.
CMake: check for depends packages.
CMake: add options 'QT_BUILD_PACKAGE'. Now you can build only needed packages.
author | SokoL_SD |
---|---|
date | Fri, 15 May 2009 16:42:02 +0000 |
parents | 907d517d37c6 |
children | 17cc45b32686 |
rev | line source |
---|---|
27
a9626891eca6
CMake: generator will work only for needed packages.
SokoL_SD
parents:
23
diff
changeset
|
1 set(required Core Gui) |
4 | 2 set(classes |
3 QGLWidget | |
4 QGLContext | |
5 QGLFormat | |
6 QGLColormap | |
7 ) | |
23 | 8 if(${CMAKE_SYSTEM_NAME} STREQUAL Windows AND D_IS_MARS) |
9 set(link_example opengl32 glu32) | |
10 install(FILES ${link_example} DESTINATION lib) | |
11 endif(${CMAKE_SYSTEM_NAME} STREQUAL Windows AND D_IS_MARS) |