view cpp/qt_opengl/CMakeLists.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 e78566595089
children
line wrap: on
line source

PROJECT(QT_OPENGL_CPP CXX)
# source files

SET(QT_OPENGL_SRCS
QGLWidget_shell.cpp
QGLFormat_shell.cpp
QGLContext_shell.cpp
QGLColormap_shell.cpp
)

ADD_LIBRARY(qt_opengl_cpp STATIC ${QT_OPENGL_SRCS})