forked from challinan/pmd-demo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
PatientMonitorDemo.pro~
117 lines (88 loc) · 2.78 KB
/
PatientMonitorDemo.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
#-------------------------------------------------
#
# Project created by QtCreator 2014-02-24T12:40:23
#
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = PatientMonitorDemo
TEMPLATE = app
DESTDIR = Release
OBJECTS_DIR = $$DESTDIR/.obj
MOC_DIR = $$DESTDIR/.moc
RCC_DIR = $$DESTDIR/.qrc
UI_DIR = $$DESTDIR/.ui
##########################################
#
# Demo Configurations:
# PMD_HAMP = Heterogeneous AMP - Patient Monitor Demo with MEHV and MEMF on OMAP5
# PMD_MEHV = Patient Monitor Demo with MEHV on OMAP5
# PMD_NUCLEUS= Patient Monitor Demo with Nucleus(GPU) on imx6 Saber lite with LVDS
#
# - Select appropriate OS
# PMD_NUCLEUS
# PMD_MEHV
# PMD_HAMP
DEFINES += PMD_NUCLEUS
# - The demo can be used with one of the design size
# DESIGN_SIZE_XGA
# DESIGN_SIZE_720p
DEFINES += DESIGN_SIZE_720p
# - Un-comment following to enable graph scrolling on demo startup
#DEFINES += ENABLE_GRAPH_SCROLLING
#
################
#
# For following options are purely for development purposes:
#
# - Only show ECG graph
#DEFINES += ONLY_SHOW_ECG_GRAPH
# - Disable numeric values update in the right panel
#DEFINES += DISABLE_RIGHT_PANEL_NUMERIC_VALUES
#
##########################################
contains(DEFINES,PMD_MEHV|PMD_HAMP) {
QT += network
}
SOURCES += main.cpp\
mainwindow.cpp \
widget.cpp \
helper.cpp \
graphSettingsPopup.cpp \
HEADERS += mainwindow.h \
widget.h \
helper.h \
graphSettingsPopup.h \
data.h \
FORMS += Common/graphSettingsPopup.ui
RESOURCES += Common/graphics.qrc
contains(DEFINES, PMD_MEHV) {
SOURCES += MEHV_dataSupplier.cpp
HEADERS += MEHV_dataSupplier.h
contains(DEFINES,PMD_NUCLEUS) {
message(====== Error: Please define only one configuration (PMD_MEHV OR PMD_NUCLEUS) =====)
}
}
contains(DEFINES, PMD_NUCLEUS) {
SOURCES += NUC_dataSupplier.cpp
HEADERS += NUC_dataSupplier.h
}
contains(DEFINES, PMD_HAMP) {
SOURCES += HAMP_dataSupplier.cpp
HEADERS += HAMP_dataSupplier.h
}
contains(DEFINES, DESIGN_SIZE_XGA) {
# FORMS += XGA/mainwindow.ui
# RESOURCES += XGA/images.qrc
}
contains(DEFINES, DESIGN_SIZE_720p) {
FORMS += 720p/mainwindow.ui
RESOURCES += 720p/images.qrc
contains(DEFINES,DESIGN_SIZE_XGA){
message(====== Error: Please define only one Design Size (XGA or 720p) =====)
}
}
contains(DEFINES, PMD_HAMP) {
target.path=$$[QT_INSTALL_EXAMPLES]/HAMPDemo/PatientMonitorDemo
INSTALLS +=target
}