OGLES2Water.pro 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. TARGET = OGLES2Water
  2. TEMPLATE = app
  3. APPROOT = ../..
  4. SDKROOT = $$APPROOT/../../..
  5. QT += opengl
  6. CONFIG += qt console
  7. # Add our source files
  8. SOURCES += \
  9. $$SDKROOT/Demos/Water/OGLES2/OGLES2Water.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/NewNormalMap.cpp \
  17. $$CONTENTROOT/Mountain.cpp \
  18. $$CONTENTROOT/wood.cpp \
  19. $$CONTENTROOT/sail.cpp \
  20. $$CONTENTROOT/MountainFloor.cpp \
  21. $$CONTENTROOT/FragShader.cpp \
  22. $$CONTENTROOT/VertShader.cpp \
  23. $$CONTENTROOT/SkyboxFShader.cpp \
  24. $$CONTENTROOT/SkyboxVShader.cpp \
  25. $$CONTENTROOT/ModelFShader.cpp \
  26. $$CONTENTROOT/ModelVShader.cpp \
  27. $$CONTENTROOT/Tex2DFShader.cpp \
  28. $$CONTENTROOT/Tex2DVShader.cpp \
  29. $$CONTENTROOT/PlaneTexFShader.cpp \
  30. $$CONTENTROOT/PlaneTexVShader.cpp \
  31. $$CONTENTROOT/Scene.cpp
  32. # Add our header files
  33. HEADERS += \
  34. $$SDKROOT/Shell/PVRShell.h \
  35. $$SDKROOT/Shell/PVRShellImpl.h \
  36. $$SDKROOT/Shell/API/Qt/PVRShellAPI.h \
  37. $$SDKROOT/Shell/OS/Qt/PVRShellOS.h
  38. # Add our include paths
  39. INCLUDEPATH += \
  40. $$SDKROOT/Shell \
  41. $$SDKROOT/Shell/API/Qt \
  42. $$SDKROOT/Shell/OS/Qt \
  43. $$SDKROOT/Builds/OGLES2/Include \
  44. $$SDKROOT/Tools/OGLES2
  45. # depends
  46. LIBS += \
  47. -L$$SDKROOT/Tools/OGLES2/Build/Qt \
  48. -lOGLES2Tools
  49. # Install
  50. target.path = /usr/bin
  51. INSTALLS += target
  52. DEFINES += BUILD_OGLES2 __QT__