2013-11-05 10:45:26 +00:00
|
|
|
#-------------------------------------------------
|
|
|
|
#
|
|
|
|
# Project created by QtCreator 2013-11-04T11:54:27
|
|
|
|
#
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
|
|
|
QT += opengl
|
|
|
|
|
|
|
|
TARGET = paysages_render_opengl
|
|
|
|
TEMPLATE = lib
|
|
|
|
|
|
|
|
DEFINES += OPENGL_LIBRARY
|
|
|
|
|
2013-11-09 17:56:56 +00:00
|
|
|
include(../../common.pri)
|
|
|
|
|
2013-12-24 15:36:45 +00:00
|
|
|
unix:LIBS += -lGLU
|
|
|
|
|
2013-11-05 10:45:26 +00:00
|
|
|
SOURCES += \
|
|
|
|
OpenGLRenderer.cpp \
|
|
|
|
ExplorerChunkTerrain.cpp \
|
2013-12-21 22:48:54 +00:00
|
|
|
WidgetExplorer.cpp \
|
|
|
|
OpenGLShaderProgram.cpp \
|
|
|
|
OpenGLPart.cpp \
|
2013-12-21 23:41:19 +00:00
|
|
|
OpenGLSkybox.cpp \
|
2013-12-22 14:04:33 +00:00
|
|
|
OpenGLWater.cpp \
|
|
|
|
OpenGLSharedState.cpp \
|
2013-12-23 13:09:52 +00:00
|
|
|
OpenGLVariable.cpp \
|
2013-12-24 10:44:39 +00:00
|
|
|
OpenGLTerrain.cpp
|
2013-11-05 10:45:26 +00:00
|
|
|
|
|
|
|
HEADERS +=\
|
|
|
|
opengl_global.h \
|
|
|
|
OpenGLRenderer.h \
|
|
|
|
ExplorerChunkTerrain.h \
|
2013-12-21 22:48:54 +00:00
|
|
|
WidgetExplorer.h \
|
|
|
|
OpenGLShaderProgram.h \
|
|
|
|
OpenGLPart.h \
|
2013-12-21 23:41:19 +00:00
|
|
|
OpenGLSkybox.h \
|
2013-12-22 14:04:33 +00:00
|
|
|
OpenGLWater.h \
|
|
|
|
OpenGLSharedState.h \
|
2013-12-23 13:09:52 +00:00
|
|
|
OpenGLVariable.h \
|
2013-12-23 16:24:05 +00:00
|
|
|
OpenGLTerrain.h \
|
|
|
|
VertexArray.h
|
2013-11-05 10:45:26 +00:00
|
|
|
|
|
|
|
unix:!symbian {
|
|
|
|
maemo5 {
|
|
|
|
target.path = /opt/usr/lib
|
|
|
|
} else {
|
|
|
|
target.path = /usr/lib
|
|
|
|
}
|
|
|
|
INSTALLS += target
|
|
|
|
}
|
|
|
|
|
|
|
|
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../../system/release/ -lpaysages_system
|
|
|
|
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../../system/debug/ -lpaysages_system
|
|
|
|
else:unix: LIBS += -L$$OUT_PWD/../../system/ -lpaysages_system
|
|
|
|
INCLUDEPATH += $$PWD/../../system
|
|
|
|
DEPENDPATH += $$PWD/../../system
|
|
|
|
|
|
|
|
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../../basics/release/ -lpaysages_basics
|
|
|
|
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../../basics/debug/ -lpaysages_basics
|
|
|
|
else:unix: LIBS += -L$$OUT_PWD/../../basics/ -lpaysages_basics
|
|
|
|
INCLUDEPATH += $$PWD/../../basics
|
|
|
|
DEPENDPATH += $$PWD/../../basics
|
|
|
|
|
|
|
|
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../../definition/release/ -lpaysages_definition
|
|
|
|
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../../definition/debug/ -lpaysages_definition
|
|
|
|
else:unix: LIBS += -L$$OUT_PWD/../../definition/ -lpaysages_definition
|
|
|
|
INCLUDEPATH += $$PWD/../../definition
|
|
|
|
DEPENDPATH += $$PWD/../../definition
|
|
|
|
|
2013-11-12 20:34:35 +00:00
|
|
|
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../software/release/ -lpaysages_render_software
|
|
|
|
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../software/debug/ -lpaysages_render_software
|
|
|
|
else:unix: LIBS += -L$$OUT_PWD/../software/ -lpaysages_render_software
|
|
|
|
INCLUDEPATH += $$PWD/../software
|
|
|
|
DEPENDPATH += $$PWD/../software
|
2013-12-21 22:48:54 +00:00
|
|
|
|
|
|
|
RESOURCES += \
|
|
|
|
shaders/resources.qrc
|
|
|
|
|
|
|
|
OTHER_FILES += \
|
|
|
|
shaders/skybox.frag \
|
2013-12-21 23:41:19 +00:00
|
|
|
shaders/skybox.vert \
|
|
|
|
shaders/water.vert \
|
|
|
|
shaders/water.frag \
|
2013-12-22 17:47:24 +00:00
|
|
|
shaders/bruneton.frag \
|
|
|
|
shaders/bruneton.frag \
|
2013-12-24 10:44:39 +00:00
|
|
|
shaders/tonemapping.frag \
|
|
|
|
shaders/terrain.frag \
|
2013-12-24 14:00:32 +00:00
|
|
|
shaders/terrain.vert \
|
|
|
|
shaders/fadeout.frag
|