newsblur.pri 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. NEWSBLUR_TARGET = $$qtLibraryTarget(newsblurservice)
  2. NEWSBLUR_DESTDIR = lib
  3. NEWSBLUR_INCLUDEPATH = "include"
  4. newsblur_build_lib {
  5. HEADERS += ./src/newsblurservice.h \
  6. ./src/items/newsbluritem.h \
  7. ./src/items/storyitem.h \
  8. ./src/items/feeditem.h \
  9. ./src/items/folderitem.h \
  10. ./src/items/starredgroup.h \
  11. ./src/items/everythinggroup.h \
  12. ./src/items/rootitem.h \
  13. ./src/replies/newsblurreply.h \
  14. ./src/newsblurclient.h \
  15. ./src/globals.h \
  16. ./src/replies/updatetreereply.h \
  17. ./src/replies/storylistreply.h \
  18. ./src/replies/feedstorylistreply.h \
  19. ./src/replies/feedsearchresultsreply.h \
  20. ./src/replies/unreadcountsreply.h \
  21. ./src/replies/feedclassifiersreply.h \
  22. ./src/feedclassifiersmodel.h \
  23. ./src/feedclassifiers.h \
  24. ./src/replies/savefeedclassifiersreply.h \
  25. ./src/replies/markstoriesreadreply.h
  26. SOURCES += ./src/newsblurservice.cpp \
  27. ./src/items/newsbluritem.cpp \
  28. ./src/items/storyitem.cpp \
  29. ./src/items/feeditem.cpp \
  30. ./src/items/folderitem.cpp \
  31. ./src/items/starredgroup.cpp \
  32. ./src/items/everythinggroup.cpp \
  33. ./src/items/rootitem.cpp \
  34. ./src/replies/newsblurreply.cpp \
  35. ./src/newsblurclient.cpp \
  36. ./src/replies/updatetreereply.cpp \
  37. ./src/replies/storylistreply.cpp \
  38. ./src/replies/feedstorylistreply.cpp \
  39. ./src/replies/feedsearchresultsreply.cpp \
  40. ./src/replies/unreadcountsreply.cpp \
  41. ./src/replies/feedclassifiersreply.cpp \
  42. ./src/feedclassifiersmodel.cpp \
  43. ./src/globals.cpp \
  44. ./src/feedclassifiers.cpp \
  45. ./src/replies/savefeedclassifiersreply.cpp \
  46. ./src/replies/markstoriesreadreply.cpp
  47. INCLUDEPATH += ./src \
  48. ./src/items \
  49. ./src/replies
  50. CONFIG += create_prl
  51. }else {
  52. CONFIG += link_prl
  53. RELPATH = "../plugins/newsblur"
  54. NEWSBLUR_LIBFILE_PATH = -L$$quote(\"$$RELPATH/$$NEWSBLUR_DESTDIR\") -l$$NEWSBLUR_TARGET
  55. LIBS+= $$NEWSBLUR_LIBFILE_PATH
  56. INCLUDEPATH += $$quote($$RELPATH/$$NEWSBLUR_INCLUDEPATH)
  57. RESOURCES += \
  58. $$RELPATH/newsblur.qrc
  59. OTHER_FILES += $$RELPATH/images/newsblur.png
  60. }