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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
b8a79f9fba5a More fixes and cleanups in CMake build script.
SokoL_SD
parents: 4
diff changeset
1 set(link_cpp cpp_core cpp_gui ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTOPENGL_LIBRARY})
4
0a29ce1ae854 CMake build script.
SokoL_SD
parents:
diff changeset
2 set(classes
0a29ce1ae854 CMake build script.
SokoL_SD
parents:
diff changeset
3 QGLWidget
0a29ce1ae854 CMake build script.
SokoL_SD
parents:
diff changeset
4 QGLContext
0a29ce1ae854 CMake build script.
SokoL_SD
parents:
diff changeset
5 QGLFormat
0a29ce1ae854 CMake build script.
SokoL_SD
parents:
diff changeset
6 QGLColormap
0a29ce1ae854 CMake build script.
SokoL_SD
parents:
diff changeset
7 )
23
907d517d37c6 CMake: Set Release configuration as default.
SokoL_SD
parents: 7
diff changeset
8 if(${CMAKE_SYSTEM_NAME} STREQUAL Windows AND D_IS_MARS)
907d517d37c6 CMake: Set Release configuration as default.
SokoL_SD
parents: 7
diff changeset
9 set(link_example opengl32 glu32)
907d517d37c6 CMake: Set Release configuration as default.
SokoL_SD
parents: 7
diff changeset
10 install(FILES ${link_example} DESTINATION lib)
907d517d37c6 CMake: Set Release configuration as default.
SokoL_SD
parents: 7
diff changeset
11 endif(${CMAKE_SYSTEM_NAME} STREQUAL Windows AND D_IS_MARS)