12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- TARGET = OGLES2ShadowVolume
- TEMPLATE = app
- APPROOT = ../..
- SDKROOT = $$APPROOT/../../..
- QT += opengl
- CONFIG += qt console
- # Add our source files
- SOURCES += \
- $$SDKROOT/TrainingCourse/ShadowVolume/OGLES2/OGLES2ShadowVolume.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/Background.cpp \
- $$CONTENTROOT/Rust.cpp \
- $$CONTENTROOT/BaseFragShader.cpp \
- $$CONTENTROOT/BaseVertShader.cpp \
- $$CONTENTROOT/ConstFragShader.cpp \
- $$CONTENTROOT/ShadowVolVertShader.cpp \
- $$CONTENTROOT/FullscreenVertShader.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__
|