Mercurial > projects > qtd
annotate build/opengl.txt @ 242:f2f4c9cbadc2
Fix #28.
You cannot build in the sources folder by default but can override this behavior using ALLOW_IN_SOURCE_BUILDS option. However, in this case you'll have to use 'cmake . && make' instead of make. Otherwise, the generator won't start.
author | SokoL_SD |
---|---|
date | Mon, 20 Jul 2009 09:33:10 +0000 |
parents | 63c31e221118 |
children | 80b52f5e97b6 |
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 |
34 | 3 QGLColormap |
4 QGLContext | |
5 QGLFormat | |
6 QGLFramebufferObject | |
7 QGLPixelBuffer | |
8 QGLWidget | |
4 | 9 ) |
55 | 10 set (d_files opengl/gl opengl/glfuncs opengl/gltypes opengl/glu) |
23 | 11 if(${CMAKE_SYSTEM_NAME} STREQUAL Windows AND D_IS_MARS) |
12 set(link_example opengl32 glu32) | |
42 | 13 install(FILES lib/opengl32.lib lib/glu32.lib DESTINATION lib) |
39 | 14 endif(${CMAKE_SYSTEM_NAME} STREQUAL Windows AND D_IS_MARS) |