forked from billkarsh/SpikeGLX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SpikeGL.pro
105 lines (87 loc) · 2.51 KB
/
SpikeGL.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
######################################################################
# Automatically generated by qmake (2.01a) Tue Apr 21 18:41:54 2009
# Manually edited since then! :)
######################################################################
TEMPLATE = app
TARGET = SpikeGLX
DESTDIR = Y:/__billKarsh__/SPIKEGL/SpikeGLX53
#DESTDIR = Y:/__billKarsh__/SPIKEGL/DEBUG53
#DESTDIR = Y:/__billKarsh__/SPIKEGL/SpikeGLX54
#DESTDIR = Y:/__billKarsh__/SPIKEGL/DEBUG54
#DESTDIR = Y:/__billKarsh__/SPIKEGL/SpikeGLX55
#DESTDIR = Y:/__billKarsh__/SPIKEGL/DEBUG55
#DESTDIR = Y:/__billKarsh__/SPIKEGL/SpikeGLX56mingw
#DESTDIR = Y:/__billKarsh__/SPIKEGL/DEBUG56mingw
#DESTDIR = Y:/__billKarsh__/SPIKEGL/SpikeGLX56MSVC
#DESTDIR = Y:/__billKarsh__/SPIKEGL/DEBUG56MSVC
#DESTDIR = Y:/__billKarsh__/SPIKEGL/SpikeGLX56-64
#DESTDIR = Y:/__billKarsh__/SPIKEGL/DEBUG56-64
DEPENDPATH += $$PWD
INCLUDEPATH += $$PWD
QT += opengl network svg
# Our sources
SRC_SGLX = \
Src-analog_out \
Src-datafile \
Src-filters \
Src-gates \
Src-graphs \
Src-gui_tools \
Src-main \
Src-params \
Src-remote \
Src-run \
Src-triggers \
Src-verify
for(dir, SRC_SGLX) {
INCLUDEPATH += $$PWD/$$dir
include($$dir/$$dir".pri")
}
# 3rd party
SRC_ALIEN = \
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: Psapi.dll supports GetProcessMemoryInfo in CniInDmx.
# Note: Simulate NIDAQ by commenting out "LIBS += -lNIDAQmx", "DEFINES += HAVE_NIDAQmx"
# Note: Switch QGLWidget to QOpenGLWidget be enabling "DEFINES += OPENGL54"
# Note: "QMAKE_LFLAGS += -Wl,--large-address-aware" for MinGW 32-bit projects
CONFIG += embed_manifest_exe
QMAKE_LIBDIR += $${_PRO_FILE_PWD_}/NI
LIBS += -lWS2_32 -lUser32
LIBS += -lopengl32 -lglu32
LIBS += -lPsapi
LIBS += -lNIDAQmx
DEFINES += HAVE_NIDAQmx
# DEFINES += OPENGL54
DEFINES += _CRT_SECURE_NO_WARNINGS WIN32
QMAKE_LFLAGS += -Wl,--large-address-aware
}
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
}