Legacy.pro 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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/lotrodatmanager.cpp \
  14. models/selfupdater.cpp \
  15. widgets/helpwidget.cpp \
  16. widgets/mainwindow.cpp \
  17. widgets/menuentry.cpp \
  18. widgets/settingswidget.cpp \
  19. widgets/aboutwidget.cpp \
  20. widgets/statuswidget.cpp \
  21. widgets/newslistwidget.cpp \
  22. widgets/newspiece.cpp \
  23. widgets/serverstatuswidget.cpp \
  24. widgets/chooseversiondialog.cpp \
  25. widgets/weeklycodewidget.cpp \
  26. widgets/dialogwindow.cpp \
  27. widgets/qsmoothscrollarea.cpp \
  28. fonts.cpp \
  29. models/patch/patch.cpp \
  30. models/patch/soundspatch.cpp \
  31. models/patch/videospatch.cpp \
  32. models/patch/textspatch.cpp \
  33. models/patch/graphicspatch.cpp \
  34. models/patchlist.cpp \
  35. legacyapplication.cpp \
  36. models/settings.cpp \
  37. models/filesystem.cpp
  38. HEADERS += \
  39. models/downloader.h \
  40. models/filesystem.h \
  41. models/lotrodatmanager.h \
  42. models/selfupdater.h \
  43. utils.h \
  44. widgets/helpwidget.h \
  45. widgets/mainwindow.h \
  46. widgets/menuentry.h \
  47. widgets/settingswidget.h \
  48. widgets/aboutwidget.h \
  49. widgets/statuswidget.h \
  50. widgets/newslistwidget.h \
  51. widgets/newspiece.h \
  52. widgets/serverstatuswidget.h \
  53. widgets/chooseversiondialog.h \
  54. widgets/weeklycodewidget.h \
  55. widgets/dialogwindow.h \
  56. widgets/qsmoothscrollarea.h \
  57. constants.h \
  58. fonts.h \
  59. models/settings.h \
  60. models/patch/patch.h \
  61. models/patch/soundspatch.h \
  62. models/patch/videospatch.h \
  63. models/patch/textspatch.h \
  64. models/patch/graphicspatch.h \
  65. models/patchlist.h \
  66. legacyapplication.h
  67. FORMS += \
  68. widgets/helpwidget.ui \
  69. widgets/mainwindow.ui \
  70. widgets/settingswidget.ui \
  71. widgets/aboutwidget.ui \
  72. widgets/statuswidget.ui \
  73. widgets/newspiece.ui \
  74. widgets/serverstatuswidget.ui \
  75. widgets/chooseversiondialog.ui \
  76. widgets/weeklycodewidget.ui \
  77. widgets/dialogwindow.ui
  78. win32:RC_ICONS = $${PROJECT_ROOT_PATH}/resources/appicon.ico
  79. INCLUDEPATH += $$PWD/src
  80. INCLUDEPATH += $$PWD/gui
  81. LIBS += -llibLotroDat_static
  82. LIBS += -llibyaml-cpp
  83. LIBS += -llibzlibstatic
  84. CONFIG(debug, debug|release) {
  85. RESOURCES += \
  86. $${PROJECT_ROOT_PATH}/resources/backgrounds.qrc \
  87. $${PROJECT_ROOT_PATH}/resources/common.qrc
  88. } else {
  89. include(../../build_res.pri)
  90. }