Legacy.pro 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. include( ../../common.pri )
  2. include( ../../app.pri )
  3. QT += core gui network
  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/filesystem.cpp \
  14. models/lotromanager.cpp \
  15. widgets/helpwidget.cpp \
  16. widgets/mainwindow.cpp \
  17. widgets/menuentry.cpp \
  18. widgets/rusificationtreeitem.cpp \
  19. widgets/rusificationwidget.cpp \
  20. widgets/settingswidget.cpp \
  21. widgets/statuswidget.cpp \
  22. widgets/serverstatuswidget.cpp \
  23. widgets/weeklycodewidget.cpp \
  24. widgets/newslistwidget.cpp \
  25. widgets/newspiece.cpp
  26. HEADERS += \
  27. models/downloader.h \
  28. models/filesystem.h \
  29. models/lotromanager.h \
  30. widgets/helpwidget.h \
  31. widgets/mainwindow.h \
  32. widgets/menuentry.h \
  33. widgets/rusificationtreeitem.h \
  34. widgets/rusificationwidget.h \
  35. widgets/settingswidget.h \
  36. widgets/statuswidget.h \
  37. widgets/serverstatuswidget.h \
  38. widgets/weeklycodewidget.h \
  39. widgets/newslistwidget.h \
  40. widgets/newspiece.h
  41. FORMS += \
  42. widgets/helpwidget.ui \
  43. widgets/mainwindow.ui \
  44. widgets/rusificationwidget.ui \
  45. widgets/settingswidget.ui \
  46. widgets/statuswidget.ui \
  47. widgets/newspiece.ui
  48. win32:RC_ICONS = $${PROJECT_ROOT_PATH}/resources/appicon.ico
  49. INCLUDEPATH += $$PWD/src
  50. INCLUDEPATH += $$PWD/gui
  51. LIBS += -llibLotroDat_static
  52. LIBS += -llibyaml-cpp
  53. LIBS += -llibzlibstatic
  54. CONFIG(debug, debug|release) {
  55. RESOURCES += \
  56. $${PROJECT_ROOT_PATH}/resources/backgrounds.qrc \
  57. $${PROJECT_ROOT_PATH}/resources/common.qrc
  58. } else {
  59. include(../../build_res.pri)
  60. }