CuteGit.pro 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. notificationcenter.cpp \
  45. notification.cpp
  46. HEADERS += \
  47. githandler.h \
  48. gitrepository.h \
  49. repositorymodel.h \
  50. gitbranch.h \
  51. gitreference.h \
  52. gitbase.h \
  53. gitoid.h \
  54. gitcommit.h \
  55. commitmodel.h \
  56. universallistmodel.h \
  57. commitgraph.h \
  58. graphpoint.h \
  59. gittag.h \
  60. tagmodel.h \
  61. gitdiff.h \
  62. graphlistmodel.h \
  63. gitremote.h \
  64. gitbaseoid.h \
  65. branchlistmodel.h \
  66. taglistmodel.h \
  67. tooltipviewmodel.h \
  68. gitconsole.h \
  69. colorhandler.h \
  70. diffmodel.h \
  71. settings.h \
  72. universallistmodelbase.h \
  73. gitauthenticator.h \
  74. notificationcenter.h \
  75. notification.h
  76. RESOURCES += \
  77. resources.qrc
  78. OTHER_FILES += \
  79. CuteGit.desktop
  80. debug {
  81. DEFINES += DEBUG
  82. }
  83. target.path = $$SYSROOT/usr/bin
  84. INSTALLS += target