Legacy.pro 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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/newswidget.cpp \
  19. widgets/rusificationtreeitem.cpp \
  20. widgets/rusificationwidget.cpp \
  21. widgets/settingswidget.cpp \
  22. widgets/statuswidget.cpp
  23. HEADERS += \
  24. models/downloader.h \
  25. models/filesystem.h \
  26. models/lotromanager.h \
  27. widgets/helpwidget.h \
  28. widgets/mainwindow.h \
  29. widgets/menuentry.h \
  30. widgets/newswidget.h \
  31. widgets/rusificationtreeitem.h \
  32. widgets/rusificationwidget.h \
  33. widgets/settingswidget.h \
  34. widgets/statuswidget.h
  35. FORMS += \
  36. widgets/helpwidget.ui \
  37. widgets/mainwindow.ui \
  38. widgets/newswidget.ui \
  39. widgets/rusificationwidget.ui \
  40. widgets/settingswidget.ui \
  41. widgets/statuswidget.ui
  42. win32:RC_ICONS = $$PWD/resources/appicon.ico
  43. INCLUDEPATH += $$PWD/src
  44. INCLUDEPATH += $$PWD/gui
  45. LIBS += -llibLotroDat_static
  46. LIBS += -llibyaml-cpp
  47. LIBS += -llibzlibstatic
  48. CONFIG(debug, debug|release) {
  49. RESOURCES += \
  50. resources/backgrounds.qrc \
  51. resources/common.qrc
  52. } else {
  53. include(build_res.pri)
  54. }