OGLES2CellShading.pro 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. TARGET = OGLES2CellShading
  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/CellShading/OGLES2/OGLES2CellShading.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/Shading.cpp \
  17. $$CONTENTROOT/FragShader.cpp \
  18. $$CONTENTROOT/VertShader.cpp \
  19. $$CONTENTROOT/Mask.cpp
  20. # Add our header files
  21. HEADERS += \
  22. $$SDKROOT/Shell/PVRShell.h \
  23. $$SDKROOT/Shell/PVRShellImpl.h \
  24. $$SDKROOT/Shell/API/Qt/PVRShellAPI.h \
  25. $$SDKROOT/Shell/OS/Qt/PVRShellOS.h
  26. # Add our include paths
  27. INCLUDEPATH += \
  28. $$SDKROOT/Shell \
  29. $$SDKROOT/Shell/API/Qt \
  30. $$SDKROOT/Shell/OS/Qt \
  31. $$SDKROOT/Builds/OGLES2/Include \
  32. $$SDKROOT/Tools/OGLES2
  33. # depends
  34. LIBS += \
  35. -L$$SDKROOT/Tools/OGLES2/Build/Qt \
  36. -lOGLES2Tools
  37. # Install
  38. target.path = /usr/bin
  39. INSTALLS += target
  40. DEFINES += BUILD_OGLES2 __QT__