-
Notifications
You must be signed in to change notification settings - Fork 94
/
GetThermal.pro
132 lines (113 loc) · 3.66 KB
/
GetThermal.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
exists($${OUT_PWD}/GetThermal.pro) {
error("You must use shadow build (e.g. mkdir build; cd build; qmake ../GetThermal.pro).")
}
message(Qt version $$[QT_VERSION])
!equals(QT_MAJOR_VERSION, 5) | !greaterThan(QT_MINOR_VERSION, 6) {
error("Unsupported Qt version, 5.7+ is required")
}
include(common.pri)
DebugBuild {
DESTDIR = $${OUT_PWD}/debug
} else {
DESTDIR = $${OUT_PWD}/release
}
QT += qml quick multimedia
QT_CONFIG -= no-pkg-config
CONFIG += c++11 \
link_pkgconfig
MacBuild: {
PKG_CONFIG = /usr/local/bin/pkg-config
}
SOURCES += \
src/main.cpp \
src/uvcvideoproducer.cpp \
src/uvcacquisition.cpp \
src/uvcbuffer.cpp \
src/leptonvariation.cpp \
src/abstractccinterface.cpp \
lepton_sdk/Src/LEPTON_AGC.c \
lepton_sdk/Src/LEPTON_OEM.c \
lepton_sdk/Src/LEPTON_RAD.c \
lepton_sdk/Src/LEPTON_SDK.c \
lepton_sdk/Src/LEPTON_SYS.c \
lepton_sdk/Src/LEPTON_VID.c \
lepton_sdk/Src/crc16fast.c \
src/dataformatter.cpp \
src/rangeprovider.cpp \
src/bosonvariation.cpp \
boson_sdk/Client_API.c \
boson_sdk/Client_Dispatcher.c \
boson_sdk/Client_Packager.c \
boson_sdk/Example.c \
boson_sdk/Serializer_BuiltIn.c \
boson_sdk/Serializer_Struct.c \
boson_sdk/UART_Connector.c \
boson_sdk/flirChannels.c \
boson_sdk/flirCRC.c \
boson_sdk/libusb_binary_protocol.c
RESOURCES += qml/qml.qrc
# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =
HEADERS += \
inc/uvcvideoproducer.h \
inc/uvcbuffer.h \
inc/uvcacquisition.h \
inc/leptonvariation.h \
inc/abstractccinterface.h \
lepton_sdk/Inc/LEPTON_AGC.h \
lepton_sdk/Inc/LEPTON_ErrorCodes.h \
lepton_sdk/Inc/LEPTON_Macros.h \
lepton_sdk/Inc/LEPTON_OEM.h \
lepton_sdk/Inc/LEPTON_RAD.h \
lepton_sdk/Inc/LEPTON_SDK.h \
lepton_sdk/Inc/LEPTON_SDKConfig.h \
lepton_sdk/Inc/LEPTON_SYS.h \
lepton_sdk/Inc/LEPTON_Types.h \
lepton_sdk/Inc/LEPTON_VID.h \
lepton_sdk/Inc/crc16.h \
lepton_sdk/Inc/uvc_sdk.h \
inc/leptonvariation_types.h \
inc/dataformatter.h \
inc/rangeprovider.h \
inc/bosonvariation.h \
boson_sdk/Client_API.h \
boson_sdk/Client_Dispatcher.h \
boson_sdk/Client_Packager.h \
boson_sdk/EnumTypes.h \
boson_sdk/FunctionCodes.h \
boson_sdk/ReturnCodes.h \
boson_sdk/Serializer_BuiltIn.h \
boson_sdk/Serializer_Struct.h \
boson_sdk/UART_Connector.h \
boson_sdk/flirChannels.h \
boson_sdk/flirCRC.h \
inc/bosonvariation_types.h
DISTFILES += \
qml/qtquickcontrols2.conf
PKGCONFIG += libusb-1.0
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.7
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/libuvc/build/release/ -luvc
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/libuvc/build/debug/ -luvc
else:macos: LIBS += -L$$PWD/libuvc/build/ -luvc
else:unix: LIBS += -L$$PWD/libuvc/build/ -luvcstatic
INCLUDEPATH += $$PWD/lepton_sdk/Inc \
$$PWD/libuvc/build/include \
$$PWD/libuvc/include \
$$PWD/inc
DEPENDPATH += $$PWD/libuvc/build/include \
$$PWD/libuvc/include
MacBuild {
QMAKE_INFO_PLIST = Custom-Info.plist
ICON = $${BASEDIR}/icons/macos.icns
OTHER_FILES += Custom-Info.plist
equals(QT_MAJOR_VERSION, 5) | greaterThan(QT_MINOR_VERSION, 5) {
LIBS += -framework ApplicationServices
}
# This is required to fixup homebrew libusb-1.0 installation
# the pkgconfig file for this doesn't include cxxflags, so we need to pick this up
INCLUDEPATH += /usr/local/include
}
# post-link configuration
include(setup.pri)
# installer scripts
include(installer.pri)