summaryrefslogtreecommitdiffstats
path: root/examples/sensors/grue/lib/lib.pro
blob: 197d91c8e268aa541fdae8c5d342afaadce5ff17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
TEMPLATE = lib
TARGET = gruesensor
android: TARGET = gruesensor_$${QT_ARCH}

macos: DESTDIR = ../grue_app.app/Contents/Frameworks
else: DESTDIR = $$OUT_PWD/..

macos: QMAKE_SONAME_PREFIX = @rpath

DEFINES *= QT_BUILD_GRUE_LIB
QT = core sensors

HEADERS += gruesensor.h \
           gruesensor_p.h

SOURCES += gruesensor.cpp

target.path=$$[QT_INSTALL_EXAMPLES]/sensors/grue
INSTALLS += target

CONFIG += install_ok  # Do not cargo-cult this!