OGLES2IntroducingPVRTools.pro 1.1 KB

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