heXon.pro 921 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. include(src/heXon.pri)
  2. TARGET = hexon
  3. LIBS += \
  4. $${PWD}/Dry/lib/libDry.a \
  5. -lpthread \
  6. -ldl \
  7. -lGL
  8. QMAKE_CXXFLAGS += -std=c++17 -O2
  9. INCLUDEPATH += \
  10. Dry/include \
  11. Dry/include/Dry/ThirdParty \
  12. Dry/include/Dry/ThirdParty/Bullet
  13. TEMPLATE = app
  14. CONFIG -= app_bundle
  15. CONFIG -= qt
  16. OTHER_FILES += \
  17. Docs/Todo.md \
  18. Resources/Settings.xml
  19. DISTFILES += \
  20. LICENSE_TEMPLATE
  21. unix
  22. {
  23. isEmpty(DATADIR) DATADIR = $$(XDG_DATA_HOME)
  24. isEmpty(DATADIR) DATADIR = $$(HOME)/.local/share
  25. target.path = /usr/games/
  26. INSTALLS += target
  27. resources.path = $$DATADIR/luckey/hexon/
  28. resources.files = Resources/*
  29. INSTALLS += resources
  30. icon.path = $$DATADIR/icons/
  31. icon.files = hexon.svg
  32. INSTALLS += icon
  33. desktop.path = $$DATADIR/applications/
  34. desktop.files = hexon.desktop
  35. INSTALLS += desktop
  36. DEFINES += RESOURCEPATH=\\\"$${resources.path}\\\"
  37. }