Merged in f5soh/librepilot/LP-575_fedora_package (pull request #491)
[librepilot.git] / ground / gcs / src / experimental / HIDTest / HIDTest.pro
blob94dbe389944fc2af26d2476e82a666bebc6f2ece
1 #-------------------------------------------------
3 # Project created by QtCreator 2010-07-24T11:26:38
5 #-------------------------------------------------
7 QT += core
9 QT -= gui
11 TARGET = HIDTest
12 CONFIG += console
13 CONFIG -= app_bundle
15 TEMPLATE = app
17 SOURCES += main.cpp
18 HEADERS += ../../plugins/rawhid/pjrc_rawhid.h
20 win32 {
21 SOURCES += ../../plugins/rawhid/pjrc_rawhid_win.cpp
22 LIBS += -lhid \
23 -lsetupapi
25 macx {
26 SOURCES += ../../plugins/rawhid/pjrc_rawhid_mac.cpp
27 SDK = /Developer/SDKs/MacOSX10.5.sdk
28 ARCH = -mmacosx-version-min=10.5 \
29 -arch \
30 ppc \
31 -arch \
32 i386
33 LIBS += $(ARCH) \
34 -Wl,-syslibroot,$(SDK) \
35 -framework \
36 IOKit \
37 -framework \
38 CoreFoundation
40 linux-g++ {
41 SOURCES += ../../plugins/rawhid/pjrc_rawhid_unix.cpp
42 LIBS += -lusb