annotate build/opengl.txt @ 23:907d517d37c6
CMake: Set Release configuration as default.
CMake: Strip examples on linux (on windows now disabled).
CMake: Install opengl32.lib and glu32.lib on windows.
author |
SokoL_SD |
date |
Fri, 15 May 2009 11:28:39 +0000 |
parents |
b8a79f9fba5a |
children |
a9626891eca6 |
rev |
line source |
7
|
1 set(link_cpp cpp_core cpp_gui ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTOPENGL_LIBRARY})
|
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)
|