-
Notifications
You must be signed in to change notification settings - Fork 1
/
UsbTool.pro
executable file
·84 lines (70 loc) · 1.67 KB
/
UsbTool.pro
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
QT += core gui widgets
CONFIG += c++14
TARGET = UsbTool
TEMPLATE = app
DEFINES += QT_DEPRECATED_WARNINGS
SOURCES += \
main.cpp \
MainWindow.cpp \
UsbThread.cpp \
DeviceListModel.cpp \
DeviceInterfacesModel.cpp \
util/HighResClock.cpp \
usb/EndpointInfo.cpp \
usb/IsochronousStream.cpp \
usb/mac/RunLoop.cpp \
usb/windows/Util_Win.cpp \
usb/mac/Util_Mac.cpp \
usb/mac/TypeWrappers_Mac.cpp \
usb/windows/TypeWrappers_Win.cpp \
usb/DeviceId.cpp \
usb/Descriptors.cpp \
usb/Device.cpp \
usb/mac/Device_Mac.cpp \
usb/windows/Device_Win.cpp \
usb/mac/Discovery_Mac.cpp \
usb/windows/Discovery_Win.cpp
HEADERS += \
MainWindow.h \
UsbThread.h \
DeviceListModel.h \
Metatypes.h \
PaddedSpinBox.h \
DeviceInterfacesModel.h \
util/EnumCasts.h \
util/HighResClock.h \
util/Result.h \
util/scope_exit.h \
usb/EndpointInfo.h \
usb/IsochronousStream.h \
usb/UsbSpecification.h \
usb/mac/RunLoop.h \
usb/mac/TypeWrappers_Mac.h \
usb/windows/TypeWrappers_Win.h \
usb/mac/Util_Mac.h \
usb/windows/Util_Win.h \
usb/DeviceId.h \
usb/Descriptors.h \
usb/Device.h \
usb/DeviceInfo.h \
usb/Discovery.h \
usb/mac/Device_Mac.h \
usb/windows/Device_Win.h
FORMS += \
MainWindow.ui
INCLUDEPATH += dependencies
mac:LIBS += -framework CoreFoundation
win32:LIBS += -lwinusb -lsetupapi
# Set icons
mac:ICON = UsbTool.icns
# Note this fails if the project is in a path with spaces. See https://bugreports.qt.io/browse/QTBUG-62918
# win32:RC_FILE = WindowsResources.rc
OTHER_FILES += \
CMakeLists.txt \
WindowsResources.rc \
UsbTool.png \
UsbTool.svg \
UsbTool.ico \
UsbTool.icns
RESOURCES += \
Resources.qrc