blob: 04dcfc284856c538079cb48718403266cc2ea010 (
plain)
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
|
TEMPLATE = lib
CONFIG += dll
QT -= gui
OBJECTS_DIR = build/obj
MOC_DIR = build/moc
win32:DEFINES += QSERIALDEVICE_SHARED
INCLUDEPATH += src include
include(src/src.pri)
CONFIG(debug, debug|release) {
DESTDIR = build/debug
TARGET = qserialdeviced
} else {
DESTDIR = build/release
TARGET = qserialdevice
}
win32 {
LIBS += -lsetupapi -luuid -ladvapi32
}
#unix:!macx {
# LIBS += -ludev
#}
macx {
LIBS += -framework IOKit -framework CoreFoundation
}
|