diff options
| author | Niels Ole Salscheider <niels_ole@salscheider-online.de> | 2018-06-23 17:20:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-23 17:20:47 +0200 |
| commit | ed6b199dff15ddb4c6bd72d1565501e9f1a2bf87 (patch) | |
| tree | 7bbb53c40ecf53fe9464b53b7966dd7726eeac5e /src/src.pro | |
| parent | ea83c77a5a4524cc9778336b10eff60979582980 (diff) | |
| parent | 31f0a42073b68823e85835ec3e25114d79705a04 (diff) | |
| download | qxmpp-ed6b199dff15ddb4c6bd72d1565501e9f1a2bf87.tar.gz | |
Merge pull request #131 from olesalscheider/cmake
Add CMake build system, drop Qt4 support
Diffstat (limited to 'src/src.pro')
| -rw-r--r-- | src/src.pro | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/src/src.pro b/src/src.pro deleted file mode 100644 index 6d4aa331..00000000 --- a/src/src.pro +++ /dev/null @@ -1,42 +0,0 @@ -include(../qxmpp.pri) - -QT -= gui - -TEMPLATE = lib - -CONFIG += $$QXMPP_LIBRARY_TYPE -DEFINES += QXMPP_BUILD -DEFINES += $$QXMPP_INTERNAL_DEFINES -INCLUDEPATH += $$QXMPP_INCLUDEPATH $$QXMPP_INTERNAL_INCLUDES -LIBS += $$QXMPP_INTERNAL_LIBS - -# Target definition -TARGET = $$QXMPP_LIBRARY_NAME -VERSION = $$QXMPP_VERSION -win32 { - DESTDIR = $$OUT_PWD -} - -include(base/base.pri) -include(client/client.pri) -include(server/server.pri) - -HEADERS += $$INSTALL_HEADERS - -# Installation -headers.files = $$INSTALL_HEADERS -headers.path = $$PREFIX/include/qxmpp -target.path = $$PREFIX/$$LIBDIR -INSTALLS += headers target - -# pkg-config support -CONFIG += create_pc create_prl no_install_prl -QMAKE_PKGCONFIG_DESTDIR = pkgconfig -QMAKE_PKGCONFIG_LIBDIR = $$target.path -QMAKE_PKGCONFIG_INCDIR = $$headers.path -equals(QXMPP_LIBRARY_TYPE,staticlib) { - QMAKE_PKGCONFIG_CFLAGS = -DQXMPP_STATIC -} else { - QMAKE_PKGCONFIG_CFLAGS = -DQXMPP_SHARED -} -unix:QMAKE_CLEAN += -r pkgconfig lib$${TARGET}.prl |
