view 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
line wrap: on
line source

set(link_cpp cpp_core cpp_gui ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTOPENGL_LIBRARY})
set(classes 
	QGLWidget
	QGLContext
	QGLFormat
	QGLColormap
    )
if(${CMAKE_SYSTEM_NAME} STREQUAL Windows AND D_IS_MARS)
    set(link_example opengl32 glu32)
    install(FILES ${link_example} DESTINATION lib)
endif(${CMAKE_SYSTEM_NAME} STREQUAL Windows AND D_IS_MARS)