qextserialport.pri 827 Bytes
Newer Older
pixhawk's avatar
pixhawk committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
QPORTDIR               = src/lib/qextserialport

INCLUDEPATH             += $$QPORTDIR
HEADERS                 += $$QPORTDIR/qextserialbase.h \
                          $$QPORTDIR/qextserialport.h \
                          $$QPORTDIR/qextserialenumerator.h
SOURCES                 += $$QPORTDIR/qextserialbase.cpp \
                          $$QPORTDIR/qextserialport.cpp \
                          $$QPORTDIR/qextserialenumerator.cpp

unix:HEADERS           += $$QPORTDIR/posix_qextserialport.h
unix:SOURCES           += $$QPORTDIR/posix_qextserialport.cpp
unix:DEFINES           += _TTY_POSIX_


win32:HEADERS          += $$QPORTDIR/win_qextserialport.h
win32:SOURCES          += $$QPORTDIR/win_qextserialport.cpp
win32:DEFINES          += _TTY_WIN_

win32:LIBS             += -lsetupapi

unix:VERSION            = 1.2.0