qxmpp.pro 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. include(qxmpp.pri)
  2. QT -= gui
  3. TEMPLATE = lib
  4. CONFIG += $$QXMPP_LIBRARY_TYPE
  5. DEFINES += QT_STATICPLUGIN
  6. DEFINES += $$QXMPP_INTERNAL_DEFINES
  7. INCLUDEPATH += $$QXMPP_INCLUDEPATH $$QXMPP_INTERNAL_INCLUDES
  8. LIBS += $$QXMPP_INTERNAL_LIBS
  9. VERSION = $$QXMPP_VERSION
  10. # To enable support for the Speex audio codec, uncomment the following:
  11. # DEFINES += QXMPP_USE_SPEEX
  12. # LIBS += -lspeex
  13. # To enable support for the Theora video codec, uncomment the following:
  14. # DEFINES += QXMPP_USE_THEORA
  15. # LIBS += -ltheoradec -ltheoraenc
  16. # To enable support for the Vpx video codec, uncomment the following:
  17. # DEFINES += QXMPP_USE_VPX
  18. # LIBS += -lvpx
  19. # Target definition
  20. TARGET = $$QXMPP_LIBRARY_NAME
  21. VERSION = $$QXMPP_VERSION
  22. win32 {
  23. DESTDIR = $$OUT_PWD
  24. }
  25. include(base/base.pri)
  26. include(client/client.pri)
  27. HEADERS += $$INSTALL_HEADERS
  28. # Installation
  29. headers.files = $$INSTALL_HEADERS
  30. headers.path = $$PREFIX/include/qxmpp
  31. target.path = $$PREFIX/$$LIBDIR
  32. INSTALLS += headers target
  33. # pkg-config support
  34. CONFIG += create_pc create_prl no_install_prl
  35. QMAKE_PKGCONFIG_DESTDIR = pkgconfig
  36. QMAKE_PKGCONFIG_LIBDIR = $$target.path
  37. QMAKE_PKGCONFIG_INCDIR = $$headers.path