Mercurial > projects > qtd
view cpp/qt_opengl/CMakeLists.txt @ 399:e40f33cc0bf5
Explicitly include qglobal.h before all the ?master includes?.
This makes sure that macros like Q_CORE_EXPORT are already defined for all parsed header files.
Starting with this commit, QtD should build successfully against the pre-built Cocoa packages on OS X 10.6.
author | David Nadlinger <code@klickverbot.at> |
---|---|
date | Sun, 16 Jan 2011 00:56:21 +0100 |
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})