123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- TARGET = OGLES2Water
- TEMPLATE = app
- APPROOT = ../..
- SDKROOT = $$APPROOT/../../..
- QT += opengl
- CONFIG += qt console
- # Add our source files
- SOURCES += \
- $$SDKROOT/Demos/Water/OGLES2/OGLES2Water.cpp \
- $$SDKROOT/Shell/PVRShell.cpp \
- $$SDKROOT/Shell/API/Qt/PVRShellAPI.cpp \
- $$SDKROOT/Shell/OS/Qt/PVRShellOS.cpp
- # Add our content files
- CONTENTROOT = $$APPROOT/Content
- SOURCES += \
- $$CONTENTROOT/NewNormalMap.cpp \
- $$CONTENTROOT/Mountain.cpp \
- $$CONTENTROOT/wood.cpp \
- $$CONTENTROOT/sail.cpp \
- $$CONTENTROOT/MountainFloor.cpp \
- $$CONTENTROOT/FragShader.cpp \
- $$CONTENTROOT/VertShader.cpp \
- $$CONTENTROOT/SkyboxFShader.cpp \
- $$CONTENTROOT/SkyboxVShader.cpp \
- $$CONTENTROOT/ModelFShader.cpp \
- $$CONTENTROOT/ModelVShader.cpp \
- $$CONTENTROOT/Tex2DFShader.cpp \
- $$CONTENTROOT/Tex2DVShader.cpp \
- $$CONTENTROOT/PlaneTexFShader.cpp \
- $$CONTENTROOT/PlaneTexVShader.cpp \
- $$CONTENTROOT/Scene.cpp
- # Add our header files
- HEADERS += \
- $$SDKROOT/Shell/PVRShell.h \
- $$SDKROOT/Shell/PVRShellImpl.h \
- $$SDKROOT/Shell/API/Qt/PVRShellAPI.h \
- $$SDKROOT/Shell/OS/Qt/PVRShellOS.h
- # Add our include paths
- INCLUDEPATH += \
- $$SDKROOT/Shell \
- $$SDKROOT/Shell/API/Qt \
- $$SDKROOT/Shell/OS/Qt \
- $$SDKROOT/Builds/OGLES2/Include \
- $$SDKROOT/Tools/OGLES2
- # depends
- LIBS += \
- -L$$SDKROOT/Tools/OGLES2/Build/Qt \
- -lOGLES2Tools
- # Install
- target.path = /usr/bin
- INSTALLS += target
- DEFINES += BUILD_OGLES2 __QT__
|