1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-16 13:21:50 -05:00

Windows build: added Airspy plugin

This commit is contained in:
f4exb 2016-03-13 01:22:00 +01:00
parent 1eeb308d47
commit 1a9af41ac3
4 changed files with 73 additions and 0 deletions

30
libairspy/libairspy.pro Normal file
View File

@ -0,0 +1,30 @@
#--------------------------------------------------------
#
# Pro file for Android and Windows builds with Qt Creator
#
#--------------------------------------------------------
QT += core
TEMPLATE = lib
TARGET = libairspy
CONFIG(MINGW32):LIBAIRSPYSRC = "D:\softs\libairspy\libairspy"
INCLUDEPATH += $$LIBAIRSPYSRC/src
CONFIG(MINGW32):INCLUDEPATH += "D:\libusb-1.0.19\include\libusb-1.0"
SOURCES = $$LIBAIRSPYSRC/src/airspy.c\
$$LIBAIRSPYSRC/src/iqconverter_float.c\
$$LIBAIRSPYSRC/src/iqconverter_int16.c
HEADERS = $$LIBAIRSPYSRC/src/airspy.h\
$$LIBAIRSPYSRC/src/airspy_commands.h\
$$LIBAIRSPYSRC/src/iqconverter_float.h\
$$LIBAIRSPYSRC/src/iqconverter_int16.h\
$$LIBAIRSPYSRC/src/filters.h
CONFIG(MINGW32):LIBS += -LD:\libusb-1.0.19\MinGW32\dll -llibusb-1.0
CONFIG(ANDROID):CONFIG += mobility
CONFIG(ANDROID):MOBILITY =

View File

@ -0,0 +1,39 @@
#--------------------------------------------------------
#
# Pro file for Android and Windows builds with Qt Creator
#
#--------------------------------------------------------
TEMPLATE = lib
CONFIG += plugin
QT += core gui widgets multimedia
TARGET = inputairspy
CONFIG(MINGW32):LIBAIRSPYSRC = "D:\softs\libairspy"
INCLUDEPATH += $$PWD
INCLUDEPATH += ../../../sdrbase
INCLUDEPATH += $$LIBAIRSPYSRC
CONFIG(Release):build_subdir = release
CONFIG(Debug):build_subdir = debug
SOURCES += airspygui.cpp\
airspyinput.cpp\
airspyplugin.cpp\
airspysettings.cpp\
airspythread.cpp
HEADERS += airspygui.h\
airspyinput.h\
airspyplugin.h\
airspysettings.h\
airspythread.h
FORMS += airspygui.ui
LIBS += -L../../../sdrbase/$${build_subdir} -lsdrbase
LIBS += -L../../../libairspy/$${build_subdir} -llibairspy
RESOURCES = ../../../sdrbase/resources/res.qrc

View File

@ -9,10 +9,12 @@ SUBDIRS = sdrbase
SUBDIRS += lz4 SUBDIRS += lz4
SUBDIRS += librtlsdr SUBDIRS += librtlsdr
SUBDIRS += libhackrf SUBDIRS += libhackrf
SUBDIRS += libairspy
SUBDIRS += plugins/samplesource/filesource SUBDIRS += plugins/samplesource/filesource
SUBDIRS += plugins/samplesource/sdrdaemon SUBDIRS += plugins/samplesource/sdrdaemon
SUBDIRS += plugins/samplesource/rtlsdr SUBDIRS += plugins/samplesource/rtlsdr
SUBDIRS += plugins/samplesource/hackrf SUBDIRS += plugins/samplesource/hackrf
SUBDIRS += plugins/samplesource/airspy
SUBDIRS += plugins/channel/chanalyzer SUBDIRS += plugins/channel/chanalyzer
SUBDIRS += plugins/channel/demodam SUBDIRS += plugins/channel/demodam
SUBDIRS += plugins/channel/demodbfm SUBDIRS += plugins/channel/demodbfm

View File

@ -5,6 +5,7 @@ copy sdrbase\%1\sdrbase.dll %2
copy lz4\%1\lz4.dll %2 copy lz4\%1\lz4.dll %2
copy libhackrf\%1\libhackrf.dll %2 copy libhackrf\%1\libhackrf.dll %2
copy librtlsdr\%1\librtlsdr.dll %2 copy librtlsdr\%1\librtlsdr.dll %2
copy libairspy\%1\libairspy.dll %2
copy %libusbdir%\dll\libusb-1.0.dll %2 copy %libusbdir%\dll\libusb-1.0.dll %2
mkdir %2\plugins mkdir %2\plugins
mkdir %2\plugins\channel mkdir %2\plugins\channel
@ -22,3 +23,4 @@ copy plugins\samplesource\filesource\%1\inputfilesource.dll %2\plugins\samplesou
copy plugins\samplesource\sdrdaemon\%1\inputsdrdaemon.dll %2\plugins\samplesource copy plugins\samplesource\sdrdaemon\%1\inputsdrdaemon.dll %2\plugins\samplesource
copy plugins\samplesource\rtlsdr\%1\inputrtlsdr.dll %2\plugins\samplesource copy plugins\samplesource\rtlsdr\%1\inputrtlsdr.dll %2\plugins\samplesource
copy plugins\samplesource\hackrf\%1\inputhackrf.dll %2\plugins\samplesource copy plugins\samplesource\hackrf\%1\inputhackrf.dll %2\plugins\samplesource
copy plugins\samplesource\airspy\%1\inputairspy.dll %2\plugins\samplesource