OGLES2ShadowVolume.pro 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. TARGET = OGLES2ShadowVolume
  2. TEMPLATE = app
  3. APPROOT = ../..
  4. SDKROOT = $$APPROOT/../../..
  5. QT += opengl
  6. CONFIG += qt console
  7. # Add our source files
  8. SOURCES += \
  9. $$SDKROOT/TrainingCourse/ShadowVolume/OGLES2/OGLES2ShadowVolume.cpp \
  10. $$SDKROOT/Shell/PVRShell.cpp \
  11. $$SDKROOT/Shell/API/Qt/PVRShellAPI.cpp \
  12. $$SDKROOT/Shell/OS/Qt/PVRShellOS.cpp
  13. # Add our content files
  14. CONTENTROOT = $$APPROOT/Content
  15. SOURCES += \
  16. $$CONTENTROOT/Background.cpp \
  17. $$CONTENTROOT/Rust.cpp \
  18. $$CONTENTROOT/BaseFragShader.cpp \
  19. $$CONTENTROOT/BaseVertShader.cpp \
  20. $$CONTENTROOT/ConstFragShader.cpp \
  21. $$CONTENTROOT/ShadowVolVertShader.cpp \
  22. $$CONTENTROOT/FullscreenVertShader.cpp \
  23. $$CONTENTROOT/scene.cpp
  24. # Add our header files
  25. HEADERS += \
  26. $$SDKROOT/Shell/PVRShell.h \
  27. $$SDKROOT/Shell/PVRShellImpl.h \
  28. $$SDKROOT/Shell/API/Qt/PVRShellAPI.h \
  29. $$SDKROOT/Shell/OS/Qt/PVRShellOS.h
  30. # Add our include paths
  31. INCLUDEPATH += \
  32. $$SDKROOT/Shell \
  33. $$SDKROOT/Shell/API/Qt \
  34. $$SDKROOT/Shell/OS/Qt \
  35. $$SDKROOT/Builds/OGLES2/Include \
  36. $$SDKROOT/Tools/OGLES2
  37. # depends
  38. LIBS += \
  39. -L$$SDKROOT/Tools/OGLES2/Build/Qt \
  40. -lOGLES2Tools
  41. # Install
  42. target.path = /usr/bin
  43. INSTALLS += target
  44. DEFINES += BUILD_OGLES2 __QT__