Legacy.pro 2.4 KB

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