1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-13 20:48:42 +01:00
LibrePilot/ground/openpilotgcs/src/plugins/rawhid/rawhid.pro
stac 7195862d77 build: Move openpilotgcs into its own subdirectory
This will allow us to build a parent project for
qt-creator that sits above both openpilotgcs and
uavobjgenerator so that we can build both projects
at the same time.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2528 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-01-22 17:40:26 +00:00

46 lines
958 B
Prolog

TEMPLATE = lib
TARGET = RawHID
include(../../openpilotgcsplugin.pri)
include(rawhid_dependencies.pri)
HEADERS += rawhid_global.h \
rawhidplugin.h \
rawhid.h \
pjrc_rawhid.h \
rawhid_const.h
SOURCES += rawhidplugin.cpp \
rawhid.cpp
FORMS +=
RESOURCES +=
DEFINES += RAWHID_LIBRARY
OTHER_FILES += RawHID.pluginspec
# Platform Specific USB HID Stuff
win32 {
SOURCES += pjrc_rawhid_win.cpp
LIBS += -lhid \
-lsetupapi
}
macx {
SOURCES += pjrc_rawhid_mac.cpp
SDK = /Developer/SDKs/MacOSX10.5.sdk
ARCH = -mmacosx-version-min=10.5 \
-arch \
ppc \
-arch \
i386
LIBS += $(ARCH) \
-Wl,-syslibroot,$(SDK) \
-framework \
IOKit \
-framework \
CoreFoundation
}
linux-g++ {
SOURCES += pjrc_rawhid_unix.cpp
LIBS += -lusb
}
linux-g++-64 {
SOURCES += pjrc_rawhid_unix.cpp
LIBS += -lusb
}