-
Notifications
You must be signed in to change notification settings - Fork 29
/
SpikeGLX30.pro
179 lines (157 loc) · 3.84 KB
/
SpikeGLX30.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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
######################################################################
# Automatically generated by qmake (2.01a) Tue Apr 21 18:41:54 2009
# Manually edited since then! :)
######################################################################
# Select real or simulated {IM,NI}:
#DEFINES += HAVE_NXT
DEFINES += HAVE_IMEC
DEFINES += HAVE_VISA
DEFINES += HAVE_NIDAQmx
TEMPLATE = app
contains(DEFINES, HAVE_NIDAQmx) {
contains(DEFINES, HAVE_NXT) {
TARGET = SpikeGLX_NXT
}
else {
TARGET = SpikeGLX
}
}
else {
TARGET = SpikeGLX_NISIM
}
CONFIG(debug, debug|release) {
win32-g++ {
contains(QT_ARCH, x86_64) {
DESTDIR = C:/Users/labadmin/Desktop/SGLTARGET/DEBUG30
}
else {
DESTDIR = C:/Users/labadmin/Desktop/SGLTARGET/DEBUG510
}
}
}
else {
win32-g++ {
contains(QT_ARCH, x86_64) {
DESTDIR = C:/Users/labadmin/Desktop/SGLTARGET/Release30
}
else {
DESTDIR = C:/Users/labadmin/Desktop/SGLTARGET/SpikeGLX510
}
}
win32-msvc {
DESTDIR = C:/Users/labadmin/Desktop/SGLTARGET/MSVC510
}
}
DEPENDPATH += $$PWD
INCLUDEPATH += $$PWD
QT += opengl network svg
# Our sources
SRC_SGLX = \
Src-audio \
Src-datafile \
Src-filters \
Src-gates \
Src-graphs \
Src-gui_tools \
Src-imro \
Src-main \
Src-params \
Src-remote \
Src-run \
Src-shank \
Src-triggers \
Src-verify
for(dir, SRC_SGLX) {
INCLUDEPATH += $$PWD/$$dir
include($$dir/$$dir".pri")
}
# 3rd party
SRC_ALIEN = \
RtAudio \
Samplerate
for(dir, SRC_ALIEN) {
INCLUDEPATH += $$PWD/$$dir
include($$dir/$$dir".pri")
}
# Resources
RSRC = \
Forms \
Resources
for(dir, RSRC) {
include($$dir/$$dir".pri")
}
# Docs
OTHER_FILES += \
Agenda.txt \
LICENSE.txt \
README.md
win32 {
# Note: RtAudio support:
# "LIBS += -lole32 -lwinmm -lksuser -luuid -ldsound -ladvapi32"
# "DEFINES += __WINDOWS_ASIO__"
# "DEFINES += __WINDOWS_WASAPI__"
# "DEFINES += __WINDOWS_DS__"
# Note: CniAcqDmx GetProcessMemoryInfo() support:
# "LIBS += -lpsapi"
# Note: Switch QGLWidget to QOpenGLWidget: enable:
# "DEFINES += OPENGL54"
# Note: This 32-bit MinGW app uses MEM > 2GB:
# "QMAKE_LFLAGS += -Wl,--large-address-aware"
contains(DEFINES, HAVE_IMEC) {
QMAKE_LIBDIR += $${_PRO_FILE_PWD_}/IMEC
contains(QT_ARCH, x86_64) {
contains(DEFINES, HAVE_NXT) {
LIBS += -lNeuropixAPI_x64_3_69_dbg-NXT-PR2-77985af
}
else {
LIBS += -lNeuropixAPI_x64_3_70_2
}
}
else {
LIBS += -lNeuropixAPI_x86_1_20
}
}
contains(QT_ARCH, x86_64) {
QMAKE_LIBDIR += $${_PRO_FILE_PWD_}/NI/lib64/msvc
}
else {
QMAKE_LIBDIR += $${_PRO_FILE_PWD_}/NI/lib32/msvc
}
contains(DEFINES, HAVE_VISA) {
LIBS += -lnivisa64
}
contains(DEFINES, HAVE_NIDAQmx) {
LIBS += -lNIDAQmx
}
CONFIG += embed_manifest_exe
LIBS += -lWs2_32 -lUser32
LIBS += -lopengl32 -lglu32
LIBS += -lole32 -lwinmm -lksuser -luuid -ldsound -ladvapi32
LIBS += -lpsapi
# DEFINES += __WINDOWS_ASIO__
# DEFINES += __WINDOWS_WASAPI__
DEFINES += __WINDOWS_DS__
DEFINES += OPENGL54
DEFINES += _CRT_SECURE_NO_WARNINGS WIN32
contains(QT_ARCH, i386) {
win32-g++ {
QMAKE_LFLAGS += -Wl,--large-address-aware
}
win32-msvc {
QMAKE_LFLAGS += -LARGEADDRESSAWARE
}
}
}
unix {
CONFIG += debug warn_on
# QMAKE_CFLAGS += -Wall -Wno-return-type
# QMAKE_CXXFLAGS += -Wall -Wno-return-type
# Enable these for profiling
# QMAKE_CFLAGS += -pg
# QMAKE_CXXFLAGS += -pg
# QMAKE_LFLAGS += -pg
}
macx {
LIBS += -framework CoreServices
DEFINES += MACX
}