OGLES2LightMap.pro 1.1 KB

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