Legacy.pro 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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/datoriginalfilesdatabase.cpp \
  13. models/downloader.cpp \
  14. models/patchdownloader.cpp \
  15. models/patchinstaller.cpp \
  16. models/selfupdater.cpp \
  17. utils.cpp \
  18. widgets/gamesettings.cpp \
  19. widgets/helpwidget.cpp \
  20. widgets/mainwindow.cpp \
  21. widgets/menuentry.cpp \
  22. widgets/aboutwidget.cpp \
  23. widgets/statuswidget.cpp \
  24. widgets/newslistwidget.cpp \
  25. widgets/newspiece.cpp \
  26. widgets/serverstatuswidget.cpp \
  27. widgets/switchbutton.cpp \
  28. widgets/translationcomponents.cpp \
  29. widgets/weeklycodewidget.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/datoriginalfilesdatabase.h \
  39. models/downloader.h \
  40. models/filesystem.h \
  41. models/patchdownloader.h \
  42. models/patchinstaller.h \
  43. models/selfupdater.h \
  44. utils.h \
  45. widgets/gamesettings.h \
  46. widgets/helpwidget.h \
  47. widgets/mainwindow.h \
  48. widgets/menuentry.h \
  49. widgets/aboutwidget.h \
  50. widgets/statuswidget.h \
  51. widgets/newslistwidget.h \
  52. widgets/newspiece.h \
  53. widgets/serverstatuswidget.h \
  54. widgets/switchbutton.h \
  55. widgets/translationcomponents.h \
  56. widgets/weeklycodewidget.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/gamesettings.ui \
  66. widgets/helpwidget.ui \
  67. widgets/mainwindow.ui \
  68. widgets/aboutwidget.ui \
  69. widgets/statuswidget.ui \
  70. widgets/newspiece.ui \
  71. widgets/serverstatuswidget.ui \
  72. widgets/translationcomponents.ui \
  73. widgets/weeklycodewidget.ui
  74. win32:RC_ICONS = $${PROJECT_ROOT_PATH}/resources/appicon.ico
  75. INCLUDEPATH += $$PWD/src
  76. INCLUDEPATH += $$PWD/gui
  77. CONFIG(debug, debug|release) {
  78. RESOURCES += \
  79. $${PROJECT_ROOT_PATH}/resources/backgrounds.qrc \
  80. $${PROJECT_ROOT_PATH}/resources/common.qrc
  81. LIBS += -llibLotroDat_staticd
  82. LIBS += -llibyaml-cppd
  83. } else {
  84. include(../../build_res.pri)
  85. LIBS += -llibLotroDat_static
  86. LIBS += -llibyaml-cpp
  87. }