CuteGit.pro 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. QT += qml quick widgets concurrent
  2. QMAKE_CXXFLAGS = -std=c++14
  3. TARGET = CuteGit
  4. TEMPLATE = app
  5. unix {
  6. desktop.files = CuteGit.desktop
  7. desktop.path = $$SYSROOT/usr/share/applications
  8. INSTALLS += desktop
  9. LIBS += -lgit2
  10. }
  11. win32 {
  12. INCLUDEPATH += $$PWD//include
  13. LIBS += -L$$PWD//lib// -lgit2
  14. }
  15. SOURCES += \
  16. main.cpp \
  17. githandler.cpp \
  18. gitrepository.cpp \
  19. repositorymodel.cpp \
  20. gitbranch.cpp \
  21. gitreference.cpp \
  22. gitbase.cpp \
  23. gitoid.cpp \
  24. gitcommit.cpp \
  25. commitmodel.cpp \
  26. universallistmodel.cpp \
  27. commitgraph.cpp \
  28. graphpoint.cpp \
  29. gittag.cpp \
  30. tagmodel.cpp \
  31. gitdiff.cpp \
  32. graphlistmodel.cpp \
  33. gitremote.cpp \
  34. gitbaseoid.cpp \
  35. branchlistmodel.cpp \
  36. taglistmodel.cpp \
  37. tooltipviewmodel.cpp \
  38. gitconsole.cpp \
  39. colorhandler.cpp \
  40. diffmodel.cpp \
  41. settings.cpp \
  42. universallistmodelbase.cpp \
  43. gitauthenticator.cpp
  44. HEADERS += \
  45. githandler.h \
  46. gitrepository.h \
  47. repositorymodel.h \
  48. gitbranch.h \
  49. gitreference.h \
  50. gitbase.h \
  51. gitoid.h \
  52. gitcommit.h \
  53. commitmodel.h \
  54. universallistmodel.h \
  55. commitgraph.h \
  56. graphpoint.h \
  57. gittag.h \
  58. tagmodel.h \
  59. gitdiff.h \
  60. graphlistmodel.h \
  61. gitremote.h \
  62. gitbaseoid.h \
  63. branchlistmodel.h \
  64. taglistmodel.h \
  65. tooltipviewmodel.h \
  66. gitconsole.h \
  67. colorhandler.h \
  68. diffmodel.h \
  69. settings.h \
  70. universallistmodelbase.h \
  71. gitauthenticator.h
  72. RESOURCES += \
  73. resources.qrc
  74. OTHER_FILES += \
  75. CuteGit.desktop
  76. debug {
  77. DEFINES += DEBUG
  78. }
  79. target.path = $$SYSROOT/usr/bin
  80. INSTALLS += target