Legacy.pro 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. include( ../../common.pri )
  2. include( ../../app.pri )
  3. QT += core gui network
  4. QMAKE_LFLAGS_RELEASE += -static -static-libgcc -static-libstdc++
  5. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  6. TARGET = Legacy
  7. TEMPLATE = app
  8. CXXFLAGS += -O2 -fno-stack-limit
  9. CONFIG += resources_big
  10. SOURCES += \
  11. main.cpp \
  12. models/downloader.cpp \
  13. models/filesystem.cpp \
  14. models/lotrodatmanager.cpp \
  15. models/patchdownloader.cpp \
  16. widgets/helpwidget.cpp \
  17. widgets/mainwindow.cpp \
  18. widgets/menuentry.cpp \
  19. widgets/rusificationwidget.cpp \
  20. widgets/settingswidget.cpp \
  21. widgets/statuswidget.cpp \
  22. widgets/newslistwidget.cpp \
  23. widgets/newspiece.cpp \
  24. widgets/serverstatuswidget.cpp \
  25. models/selfupdater.cpp \
  26. widgets/chooseversiondialog.cpp \
  27. widgets/weeklycodewidget.cpp
  28. HEADERS += \
  29. models/downloader.h \
  30. models/filesystem.h \
  31. models/lotrodatmanager.h \
  32. models/patchdownloader.h \
  33. widgets/helpwidget.h \
  34. widgets/mainwindow.h \
  35. widgets/menuentry.h \
  36. widgets/rusificationwidget.h \
  37. widgets/settingswidget.h \
  38. widgets/statuswidget.h \
  39. widgets/newslistwidget.h \
  40. widgets/newspiece.h \
  41. widgets/serverstatuswidget.h \
  42. models/selfupdater.h \
  43. widgets/chooseversiondialog.h \
  44. widgets/weeklycodewidget.h \
  45. constants.h
  46. FORMS += \
  47. widgets/helpwidget.ui \
  48. widgets/mainwindow.ui \
  49. widgets/rusificationwidget.ui \
  50. widgets/settingswidget.ui \
  51. widgets/statuswidget.ui \
  52. widgets/newspiece.ui \
  53. widgets/serverstatuswidget.ui \
  54. widgets/chooseversiondialog.ui \
  55. widgets/weeklycodewidget.ui
  56. win32:RC_ICONS = $${PROJECT_ROOT_PATH}/resources/appicon.ico
  57. INCLUDEPATH += $$PWD/src
  58. INCLUDEPATH += $$PWD/gui
  59. LIBS += -llibLotroDat_static
  60. LIBS += -llibyaml-cpp
  61. LIBS += -llibzlibstatic
  62. CONFIG(debug, debug|release) {
  63. RESOURCES += \
  64. $${PROJECT_ROOT_PATH}/resources/backgrounds.qrc \
  65. $${PROJECT_ROOT_PATH}/resources/common.qrc
  66. } else {
  67. include(../../build_res.pri)
  68. }