-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCuteSdr.pro
176 lines (157 loc) · 3.89 KB
/
CuteSdr.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
#-------------------------------------------------
#
# Project created by QtCreator 2010-09-15T13:53:54
# patched for U10.10, Andrea IW0HDV, Ken N9VV
#
#-------------------------------------------------
# check Qt version, 4.7is mandatory due to usage of some class introduced in Qt library only since release 4.7
QT_VERSION = $$[QT_VERSION]
QT_VERSION = $$split(QT_VERSION, ".")
QT_VER_MAJ = $$member(QT_VERSION, 0)
QT_VER_MIN = $$member(QT_VERSION, 1)
lessThan(QT_VER_MAJ, 4) | lessThan(QT_VER_MIN, 7) {
error(CuteSDR requires Qt 4.7 or newer but Qt $$[QT_VERSION] was detected.)
}
QT += core gui
QT += network
linux-g++ {
#
# Ubuntu 10.10: changes due to some strangeness in Debian Qt packages
# uncomment out to use changes since doesnt work with Mint
# INCLUDEPATH += $$quote(/usr/include/QtMultimediaKit)
# LIBS += $$quote(-lQtMultimediaKit)
QT += multimedia
# compiler optimization options, as per suggestion by Ken N9VV
# Uncomment to try. Seems to use more CPU on some machines
# QMAKE_CXXFLAGS += -O3 \
# -mfpmath=sse \
# -msse \
# -msse2 \
# -msse3 \
# -fomit-frame-pointer \
# -ffast-math \
# -march=i686 \
# -fexceptions
} else {
QT += multimedia
}
TARGET = CuteSdr
TEMPLATE = app
SOURCES += gui/main.cpp \
gui/sounddlg.cpp \
gui/sdrsetupdlg.cpp \
gui/sdrdiscoverdlg.cpp \
gui/plotter.cpp \
gui/mainwindow.cpp \
gui/ipeditwidget.cpp \
gui/freqctrl.cpp \
gui/displaydlg.cpp \
gui/demodsetupdlg.cpp \
gui/editnetdlg.cpp \
gui/testbench.cpp \
gui/meter.cpp \
gui/sliderctrl.cpp \
gui/noiseprocdlg.cpp \
gui/aboutdlg.cpp \
interface/soundout.cpp \
interface/sdrinterface.cpp \
interface/netiobase.cpp \
interface/ad6620.cpp \
interface/perform.cpp \
dsp/fractresampler.cpp \
dsp/fastfir.cpp \
dsp/downconvert.cpp \
dsp/demodulator.cpp \
dsp/fft.cpp \
dsp/agc.cpp \
dsp/amdemod.cpp \
dsp/samdemod.cpp \
dsp/ssbdemod.cpp \
dsp/smeter.cpp \
dsp/fmdemod.cpp \
dsp/fir.cpp \
dsp/iir.cpp \
dsp/noiseproc.cpp
HEADERS += gui/mainwindow.h \
gui/sounddlg.h \
gui/sdrsetupdlg.h \
gui/sdrdiscoverdlg.h \
gui/plotter.h \
gui/ipeditwidget.h \
gui/freqctrl.h \
gui/sliderctrl.h \
gui/editnetdlg.h \
gui/displaydlg.h \
gui/demodsetupdlg.h \
gui/testbench.h \
gui/meter.h \
gui/noiseprocdlg.h \
gui/aboutdlg.h \
interface/soundout.h \
interface/sdrinterface.h \
interface/protocoldefs.h \
interface/netiobase.h \
interface/ad6620.h \
interface/ascpmsg.h \
interface/perform.h \
dsp/fractresampler.h \
dsp/fastfir.h \
dsp/filtercoef.h \
dsp/downconvert.h \
dsp/demodulator.h \
dsp/datatypes.h \
dsp/fft.h \
dsp/agc.h \
dsp/amdemod.h \
dsp/samdemod.h \
dsp/ssbdemod.h \
dsp/smeter.h \
dsp/fmdemod.h \
dsp/fir.h \
dsp/iir.h \
dsp/noiseproc.h
FORMS += gui/mainwindow.ui \
gui/sdrdiscoverdlg.ui \
gui/sounddlg.ui \
gui/sdrsetupdlg.ui \
gui/ipeditframe.ui \
gui/editnetdlg.ui \
gui/displaydlg.ui \
gui/demodsetupdlg.ui \
gui/testbench.ui \
gui/sliderctrl.ui \
gui/aboutdlg.ui \
gui/noiseprocdlg.ui
unix:SOURCES +=
unix:!macx:SOURCES +=
macx {
SOURCES +=
LIBS += -framework \
IOKit \
-framework \
CoreFoundation
}
win32 {
SOURCES +=
DEFINES += WINVER=0x0501 # needed for mingw to pull in appropriate dbt business...probably a better way to do this
LIBS += libwsock32
RC_FILE = cutesdr.rc
}
linux-g++:DEFINES = _TTY_POSIX_ \
_TTY_LINUX_
win32:DEFINES += _TTY_WIN_
win32:DEFINES += WINVER=0x0501
macx:DEFINES = _TTY_POSIX_ \
_TTY_MACX_
CONFIG(debug, debug|release) {
DESTDIR = debug/
OBJECTS_DIR = debug/
RCC_DIR = debug/
}
else {
DESTDIR = release/
OBJECTS_DIR = release/
RCC_DIR = release/
}
OTHER_FILES += \
cutesdr.rc