summaryrefslogtreecommitdiffstats
path: root/examples/consoleportinfo/consoleportinfo.pro
blob: d0087aad8b4a108d4da9767cd1ccc0ef934dff2c (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
30
31
32
33
34
35
TEMPLATE = app
CONFIG += console
QT -= gui
OBJECTS_DIR = obj
MOC_DIR = moc

INCLUDEPATH += \
    ../../include \
    ../../src

HEADERS += \
    ../../include/serialport.h \
    ../../include/serialportinfo.h

SOURCES += main.cpp

include(../../src/src.pri)

CONFIG(debug, debug|release) {
    DESTDIR = debug
    TARGET = consoleinfod
} else {
    DESTDIR = release
    TARGET = consoleinfo
}

win32 {
    LIBS += -lsetupapi -luuid -ladvapi32
}
unix:!macx {
    LIBS += -ludev
}
macx {
    LIBS += -framework IOKit -framework CoreFoundation
}