From dcbd61904c35635981f5a5491ad5de115b50091a Mon Sep 17 00:00:00 2001 From: f4exb Date: Tue, 8 Mar 2016 06:51:56 +0100 Subject: [PATCH] Created .pro files for compilation with Windows Qt Creator --- app/app.pro | 21 ++++ sdrangel.pro => sdrangel.android.pro | 0 sdrangel.windows.pro | 12 ++ sdrbase/sdrbase.pro | 177 +++++++++++++++++++++++++++ 4 files changed, 210 insertions(+) create mode 100644 app/app.pro rename sdrangel.pro => sdrangel.android.pro (100%) create mode 100644 sdrangel.windows.pro create mode 100644 sdrbase/sdrbase.pro diff --git a/app/app.pro b/app/app.pro new file mode 100644 index 000000000..a29d94a6d --- /dev/null +++ b/app/app.pro @@ -0,0 +1,21 @@ +#-------------------------------------------------------- +# +# Pro file for Android and Windows builds with Qt Creator +# +#-------------------------------------------------------- + +QT += core gui multimedia opengl +greaterThan(QT_MAJOR_VERSION, 4): QT += widgets + +TEMPLATE = app +TARGET = sdrangel +INCLUDEPATH += $$PWD/../sdrbase + +CONFIG(release): build_subdir = release +CONFIG(debug): build_subdir = debug + +SOURCES += main.cpp +LIBS += -L../sdrbase/$${build_subdir} -lsdrbase + +CONFIG(ANDROID):CONFIG += mobility +CONFIG(ANDROID):MOBILITY = diff --git a/sdrangel.pro b/sdrangel.android.pro similarity index 100% rename from sdrangel.pro rename to sdrangel.android.pro diff --git a/sdrangel.windows.pro b/sdrangel.windows.pro new file mode 100644 index 000000000..dffc6adf4 --- /dev/null +++ b/sdrangel.windows.pro @@ -0,0 +1,12 @@ +#-------------------------------------------------------- +# +# Pro file for Android and Windows builds with Qt Creator +# +#-------------------------------------------------------- + +TEMPLATE = subdirs +SUBDIRS = sdrbase + +# Main app must be last +CONFIG += ordered +SUBDIRS += app diff --git a/sdrbase/sdrbase.pro b/sdrbase/sdrbase.pro new file mode 100644 index 000000000..301bf7662 --- /dev/null +++ b/sdrbase/sdrbase.pro @@ -0,0 +1,177 @@ +#-------------------------------------------------------- +# +# Pro file for Android and Windows builds with Qt Creator +# +#-------------------------------------------------------- + +QT += core gui multimedia opengl +greaterThan(QT_MAJOR_VERSION, 4): QT += widgets + +TEMPLATE = lib +TARGET = sdrbase +INCLUDEPATH += $$PWD + +DEFINES += USE_KISSFFT=1 + +CONFIG(ANDROID):INCLUDEPATH += /opt/build/Boost-for-Android-Prebuilt/boost_1_53_0/include +CONFIG(MINGW32):INCLUDEPATH += "D:\boost_1_58_0" + +SOURCES += mainwindow.cpp\ + audio/audiodeviceinfo.cpp\ + audio/audiofifo.cpp\ + audio/audiooutput.cpp\ + dsp/afsquelch.cpp\ + dsp/agc.cpp\ + dsp/channelizer.cpp\ + dsp/channelmarker.cpp\ + dsp/ctcssdetector.cpp\ + dsp/dspcommands.cpp\ + dsp/dspengine.cpp\ + dsp/dspdeviceengine.cpp\ + dsp/fftengine.cpp\ + dsp/kissengine.cpp\ + dsp/fftfilt.cxx\ + dsp/fftwindow.cpp\ + dsp/filterrc.cpp\ + dsp/filesink.cpp\ + dsp/interpolator.cpp\ + dsp/inthalfbandfilter.cpp\ + dsp/lowpass.cpp\ + dsp/movingaverage.cpp\ + dsp/nco.cpp\ + dsp/pidcontroller.cpp\ + dsp/phaselock.cpp\ + dsp/samplefifo.cpp\ + dsp/samplesink.cpp\ + dsp/nullsink.cpp\ + dsp/spectrumscopecombovis.cpp\ + dsp/scopevis.cpp\ + dsp/spectrumvis.cpp\ + dsp/threadedsamplesink.cpp\ + gui/aboutdialog.cpp\ + gui/addpresetdialog.cpp\ + gui/basicchannelsettingswidget.cpp\ + gui/buttonswitch.cpp\ + gui/channelwindow.cpp\ + gui/colormapper.cpp\ + gui/glscope.cpp\ + gui/glscopegui.cpp\ + gui/glshadersimple.cpp\ + gui/glshadertextured.cpp\ + gui/glspectrum.cpp\ + gui/glspectrumgui.cpp\ + gui/indicator.cpp\ + gui/pluginsdialog.cpp\ + gui/preferencesdialog.cpp\ + gui/presetitem.cpp\ + gui/rollupwidget.cpp\ + gui/scale.cpp\ + gui/scaleengine.cpp\ + gui/valuedial.cpp\ + dsp/samplesource.cpp\ + plugin/pluginapi.cpp\ + plugin/plugininterface.cpp\ + plugin/pluginmanager.cpp\ + settings/preferences.cpp\ + settings/preset.cpp\ + settings/mainsettings.cpp\ + util/CRC64.cpp\ + util/db.cpp\ + util/message.cpp\ + util/messagequeue.cpp\ + util/prettyprint.cpp\ + util/syncmessenger.cpp\ + util/samplesourceserializer.cpp\ + util/simpleserializer.cpp + +HEADERS += mainwindow.h\ + audio/audiodeviceinfo.h\ + audio/audiofifo.h\ + audio/audiooutput.h\ + dsp/afsquelch.h\ + dsp/channelizer.h\ + dsp/channelmarker.h\ + dsp/complex.h\ + dsp/decimators.h\ + dsp/dspcommands.h\ + dsp/dspengine.h\ + dsp/dspdeviceengine.h\ + dsp/dsptypes.h\ + dsp/fftengine.h\ + dsp/fftfilt.h\ + dsp/fftwengine.h\ + dsp/fftwindow.h\ + dsp/filterrc.h\ + dsp/filesink.h\ + dsp/gfft.h\ + dsp/interpolator.h\ + dsp/inthalfbandfilter.h\ + dsp/kissfft.h\ + dsp/kissengine.h\ + dsp/lowpass.h\ + dsp/misc.h\ + dsp/movingaverage.h\ + dsp/nco.h\ + dsp/phasediscri.h\ + dsp/phaselock.h\ + dsp/pidcontroller.h\ + dsp/samplefifo.h\ + dsp/samplesink.h\ + dsp/nullsink.h\ + dsp/scopevis.h\ + dsp/spectrumvis.h\ + dsp/threadedsamplesink.h\ + gui/aboutdialog.h\ + gui/addpresetdialog.h\ + gui/basicchannelsettingswidget.h\ + gui/buttonswitch.h\ + gui/channelwindow.h\ + gui/colormapper.h\ + gui/glscope.h\ + gui/glscopegui.h\ + gui/glshadersimple.h\ + gui/glshadertextured.h\ + gui/glspectrum.h\ + gui/glspectrumgui.h\ + gui/indicator.h\ + gui/physicalunit.h\ + gui/pluginsdialog.h\ + gui/preferencesdialog.h\ + gui/presetitem.h\ + gui/rollupwidget.h\ + gui/scale.h\ + gui/scaleengine.h\ + gui/valuedial.h\ + dsp/samplesource.h\ + plugin/pluginapi.h\ + plugin/plugingui.h\ + plugin/plugininterface.h\ + plugin/pluginmanager.h\ + settings/preferences.h\ + settings/preset.h\ + settings/mainsettings.h\ + util/CRC64.h\ + util/db.h\ + util/export.h\ + util/message.h\ + util/messagequeue.h\ + util/prettyprint.h\ + util/syncmessenger.h\ + util/samplesourceserializer.h\ + util/simpleserializer.h + +FORMS += mainwindow.ui\ + gui/scopewindow.ui\ + gui/addpresetdialog.ui\ + gui/basicchannelsettingswidget.ui\ + gui/preferencesdialog.ui\ + gui/glscopegui.ui\ + gui/aboutdialog.ui\ + gui/pluginsdialog.ui\ + gui/glspectrumgui.ui\ + mainwindow.ui + +RESOURCES = resources/res.qrc + +CONFIG(ANDROID):CONFIG += mobility +CONFIG(ANDROID):MOBILITY =