Legacy.pro 2.4 KB

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