Legacy.pro 2.4 KB

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