mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
GCS/qextserialport: Fix to project file
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@346 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
8ab2a5e123
commit
8817439993
@ -1,30 +1,28 @@
|
||||
TEMPLATE = lib
|
||||
TARGET = QExtSerialPort
|
||||
|
||||
DEFINES += QEXTSERIALPORT_LIBRARY
|
||||
include(../../../openpilotgcslibrary.pri)
|
||||
|
||||
DEFINES += QEXTSERIALPORT_LIBRARY
|
||||
#VERSION = 1.2.0
|
||||
|
||||
# event driven device enumeration on windows requires the gui module
|
||||
!win32:QT -= gui
|
||||
|
||||
HEADERS = qextserialport.h \
|
||||
qextserialenumerator.h \
|
||||
qextserialport_global.h
|
||||
SOURCES = qextserialport.cpp
|
||||
|
||||
unix:SOURCES += posix_qextserialport.cpp
|
||||
unix:!macx:SOURCES += qextserialenumerator_unix.cpp
|
||||
macx {
|
||||
SOURCES += qextserialenumerator_osx.cpp
|
||||
LIBS += -framework IOKit -framework CoreFoundation
|
||||
}
|
||||
|
||||
win32 {
|
||||
SOURCES += win_qextserialport.cpp qextserialenumerator_win.cpp
|
||||
DEFINES += WINVER=0x0501 # needed for mingw to pull in appropriate dbt business...probably a better way to do this
|
||||
LIBS += -lsetupapi
|
||||
}
|
||||
|
||||
VERSION = 1.2.0
|
||||
|
||||
# event driven device enumeration on windows requires the gui module
|
||||
!win32:QT -= gui
|
||||
|
||||
HEADERS = qextserialport.h \
|
||||
qextserialenumerator.h \
|
||||
qextserialport_global.h
|
||||
SOURCES = qextserialport.cpp
|
||||
|
||||
unix:SOURCES += posix_qextserialport.cpp
|
||||
unix:!macx:SOURCES += qextserialenumerator_unix.cpp
|
||||
macx {
|
||||
SOURCES += qextserialenumerator_osx.cpp
|
||||
LIBS += -framework IOKit -framework CoreFoundation
|
||||
}
|
||||
|
||||
win32 {
|
||||
SOURCES += win_qextserialport.cpp qextserialenumerator_win.cpp
|
||||
DEFINES += WINVER=0x0501 # needed for mingw to pull in appropriate dbt business...probably a better way to do this
|
||||
LIBS += -lsetupapi
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user