Legacy.pro 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. widgets/tooltipbutton.cpp \
  32. widgets/progressbar.cpp \
  33. fonts.cpp \
  34. legacyapplication.cpp \
  35. models/settings.cpp \
  36. models/filesystem.cpp
  37. HEADERS += \
  38. models/downloader.h \
  39. models/filesystem.h \
  40. models/patchdownloader.h \
  41. models/patchinstaller.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/switchbutton.h \
  54. widgets/chooseversiondialog.h \
  55. widgets/weeklycodewidget.h \
  56. widgets/dialogwindow.h \
  57. widgets/qsmoothscrollarea.h \
  58. widgets/tooltipbutton.h \
  59. widgets/progressbar.h \
  60. constants.h \
  61. fonts.h \
  62. models/settings.h \
  63. legacyapplication.h
  64. FORMS += \
  65. widgets/helpwidget.ui \
  66. widgets/mainwindow.ui \
  67. widgets/settingswidget.ui \
  68. widgets/aboutwidget.ui \
  69. widgets/statuswidget.ui \
  70. widgets/newspiece.ui \
  71. widgets/serverstatuswidget.ui \
  72. widgets/chooseversiondialog.ui \
  73. widgets/weeklycodewidget.ui \
  74. widgets/dialogwindow.ui
  75. win32:RC_ICONS = $${PROJECT_ROOT_PATH}/resources/appicon.ico
  76. INCLUDEPATH += $$PWD/src
  77. INCLUDEPATH += $$PWD/gui
  78. CONFIG(debug, debug|release) {
  79. RESOURCES += \
  80. $${PROJECT_ROOT_PATH}/resources/backgrounds.qrc \
  81. $${PROJECT_ROOT_PATH}/resources/common.qrc
  82. LIBS += -llibLotroDat_staticd
  83. LIBS += -llibyaml-cppd
  84. } else {
  85. include(../../build_res.pri)
  86. LIBS += -llibLotroDat_static
  87. LIBS += -llibyaml-cpp
  88. }