sample-browser.pro 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. #-------------------------------------------------
  2. #
  3. # Project created by QtCreator
  4. #
  5. #-------------------------------------------------
  6. QT -= core gui
  7. TARGET = sample-browser
  8. TEMPLATE = app
  9. SOURCES += src/Audio3DSample.cpp \
  10. src/BillboardSample.cpp \
  11. src/CreateSceneSample.cpp \
  12. src/FirstPersonCamera.cpp \
  13. src/FormsSample.cpp \
  14. src/GamepadSample.cpp \
  15. src/GestureSample.cpp \
  16. src/Grid.cpp \
  17. src/InputSample.cpp \
  18. src/LightSample.cpp \
  19. src/LoadSceneSample.cpp \
  20. src/MeshBatchSample.cpp \
  21. src/MeshPrimitiveSample.cpp \
  22. src/PhysicsCollisionObjectSample.cpp \
  23. src/PostProcessSample.cpp \
  24. src/SpriteBatchSample.cpp \
  25. src/TerrainSample.cpp \
  26. src/Sample.cpp \
  27. src/SamplesGame.cpp \
  28. src/TextSample.cpp \
  29. src/TextureSample.cpp \
  30. src/TriangleSample.cpp \
  31. src/WaterSample.cpp
  32. HEADERS += src/Audio3DSample.h \
  33. src/BillboardSample.h \
  34. src/CreateSceneSample.h \
  35. src/FirstPersonCamera.h \
  36. src/FormsSample.h \
  37. src/GamepadSample.h \
  38. src/GestureSample.h \
  39. src/Grid.h \
  40. src/InputSample.h \
  41. src/LightSample.h \
  42. src/LoadSceneSample.h \
  43. src/MeshBatchSample.h \
  44. src/MeshPrimitiveSample.h \
  45. src/PhysicsCollisionObjectSample.h \
  46. src/PostProcessSample.h \
  47. src/SpriteBatchSample.h \
  48. src/TerrainSample.h \
  49. src/Sample.h \
  50. src/SamplesGame.h \
  51. src/TextSample.h \
  52. src/TextureSample.h \
  53. src/TriangleSample.h \
  54. src/WaterSample.h
  55. INCLUDEPATH += $$PWD/../../gameplay/src
  56. INCLUDEPATH += $$PWD/../../external-deps/bullet/include
  57. INCLUDEPATH += $$PWD/../../external-deps/lua/include
  58. INCLUDEPATH += $$PWD/../../external-deps/png/include
  59. INCLUDEPATH += $$PWD/../../external-deps/zlib/include
  60. INCLUDEPATH += $$PWD/../../external-deps/ogg/include
  61. INCLUDEPATH += $$PWD/../../external-deps/vorbis/include
  62. INCLUDEPATH += $$PWD/../../external-deps/openal/include
  63. linux:!android: INCLUDEPATH += $$PWD/../../external-deps/glew/include
  64. linux:!android: INCLUDEPATH += /usr/include/gtk-2.0
  65. linux:!android: INCLUDEPATH += /usr/lib/x86_64-linux-gnu/gtk-2.0/include
  66. linux:!android: INCLUDEPATH += /usr/include/atk-1.0
  67. linux:!android: INCLUDEPATH += /usr/include/cairo
  68. linux:!android: INCLUDEPATH += /usr/include/gdk-pixbuf-2.0
  69. linux:!android: INCLUDEPATH += /usr/include/pango-1.0
  70. linux:!android: INCLUDEPATH += /usr/include/gio-unix-2.0
  71. linux:!android: INCLUDEPATH += /usr/include/freetype2
  72. linux:!android: INCLUDEPATH += /usr/include/glib-2.0
  73. linux:!android: INCLUDEPATH += /usr/lib/x86_64-linux-gnu/glib-2.0/include
  74. linux:!android: INCLUDEPATH += /usr/include/pixman-1
  75. linux:!android: INCLUDEPATH += /usr/include/libpng12
  76. linux:!android: INCLUDEPATH += /usr/include/harfbuzz
  77. DEPENDPATH += INCLUDEPATH
  78. linux:!android: DEFINES += GP_USE_GAMEPAD
  79. linux:!android: DEFINES += __linux__
  80. linux:!android: QMAKE_CXXFLAGS += -std=c++11 -lstdc++ -pthread -w
  81. linux:!android: LIBS += -L$$PWD/../../gameplay/Debug/ -lgameplay
  82. linux:!android: LIBS += -L$$PWD/../../external-deps/lua/lib/linux/x64/ -llua
  83. linux:!android: LIBS += -L$$PWD/../../external-deps/png/lib/linux/x64/ -lpng
  84. linux:!android: LIBS += -L$$PWD/../../external-deps/zlib/lib/linux/x64/ -lz
  85. linux:!android: LIBS += -L$$PWD/../../external-deps/vorbis/lib/linux/x64/ -lvorbis
  86. linux:!android: LIBS += -L$$PWD/../../external-deps/ogg/lib/linux/x64/ -logg
  87. linux:!android: LIBS += -L$$PWD/../../external-deps/bullet/lib/linux/x64/ -lBulletDynamics
  88. linux:!android: LIBS += -L$$PWD/../../external-deps/bullet/lib/linux/x64/ -lBulletCollision
  89. linux:!android: LIBS += -L$$PWD/../../external-deps/bullet/lib/linux/x64/ -lLinearMath
  90. linux:!android: LIBS += -L$$PWD/../../external-deps/openal/lib/linux/x64/ -lopenal
  91. linux:!android: LIBS += -L$$PWD/../../external-deps/glew/lib/linux/x64/ -lGLEW
  92. linux:!android: LIBS += -lm
  93. linux:!android: LIBS += -lGL
  94. linux:!android: LIBS += -lrt
  95. linux:!android: LIBS += -ldl
  96. linux:!android: LIBS += -lX11
  97. linux:!android: LIBS += -lpthread
  98. linux:!android: LIBS += -lgtk-x11-2.0
  99. linux:!android: LIBS += -lglib-2.0
  100. linux:!android: LIBS += -lgobject-2.0
  101. linux:!android: PRE_TARGETDEPS += $$PWD/../../gameplay/Debug/libgameplay.a
  102. linux:!android: PRE_TARGETDEPS += $$PWD/../../external-deps/lua/lib/linux/x64/liblua.a
  103. linux:!android: PRE_TARGETDEPS += $$PWD/../../external-deps/bullet/lib/linux/x64/libLinearMath.a
  104. linux:!android: PRE_TARGETDEPS += $$PWD/../../external-deps/bullet/lib/linux/x64/libBulletCollision.a
  105. linux:!android: PRE_TARGETDEPS += $$PWD/../../external-deps/bullet/lib/linux/x64/libBulletDynamics.a
  106. linux:!android: PRE_TARGETDEPS += $$PWD/../../external-deps/png/lib/linux/x64/libpng.a
  107. linux:!android: PRE_TARGETDEPS += $$PWD/../../external-deps/zlib/lib/linux/x64/libz.a
  108. linux:!android: PRE_TARGETDEPS += $$PWD/../../external-deps/ogg/lib/linux/x64/libogg.a
  109. linux:!android: PRE_TARGETDEPS += $$PWD/../../external-deps/vorbis/lib/linux/x64/libvorbis.a
  110. linux:!android: PRE_TARGETDEPS += $$PWD/../../external-deps/openal/lib/linux/x64/libopenal.a
  111. linux:!android: PRE_TARGETDEPS += $$PWD/../../external-deps/glew/lib/linux/x64/libGLEW.a
  112. linux:!android: QMAKE_POST_LINK += $$quote(rsync -rau $$PWD/../../gameplay/res/shaders ../res$$escape_expand(\n\t))
  113. linux:!android: QMAKE_POST_LINK += $$quote(rsync -rau $$PWD/../../gameplay/res/ui ../res$$escape_expand(\n\t))
  114. linux:!android: QMAKE_POST_LINK += $$quote(cp -rf $$PWD/../../gameplay/res/logo_powered_white.png ../res$$escape_expand(\n\t))