File: src.pro

package info (click to toggle)
qtdbusextended 0.0.3-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 172 kB
  • sloc: cpp: 431; makefile: 8
file content (45 lines) | stat: -rw-r--r-- 1,115 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
include(../common.pri)

TEMPLATE = lib
CONFIG += qt

QT = core dbus

TARGET = $${QTDBUSEXTENDEDLIB}

QMAKE_SUBSTITUTES = $${TARGET}.prf.in

DEFINES += QT_DBUS_EXTENDED_LIBRARY

# Generate pkg-config support by default
# Note that we HAVE TO also create prl config as QMake implementation
# mixes both of them together.
CONFIG += create_pc create_prl no_install_prl

SOURCES += \
    dbusextendedabstractinterface.cpp \
    dbusextendedpendingcallwatcher.cpp

HEADERS += \
    dbusextended.h \
    dbusextendedabstractinterface.h \
    dbusextendedpendingcallwatcher_p.h

INSTALL_HEADERS = \
    DBusExtended \
    DBusExtendedAbstractInterface \
    dbusextended.h \
    dbusextendedabstractinterface.h

target.path = $$[QT_INSTALL_LIBS]
headers.files = $$INSTALL_HEADERS
headers.path = $$[QT_INSTALL_HEADERS]/DBusExtended
prf.files = $${TARGET}.prf
prf.path = $$[QMAKE_MKSPECS]/features
INSTALLS += target headers prf

QMAKE_PKGCONFIG_LIBDIR = $$target.path
QMAKE_PKGCONFIG_INCDIR = $$headers.path
QMAKE_PKGCONFIG_DESTDIR = pkgconfig
QMAKE_PKGCONFIG_NAME = DBusExtended
QMAKE_PKGCONFIG_REQUIRES += Qt5Core Qt5DBus