Legacy.pro 1.4 KB

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