2018-11-15 18:07:15 +00:00
|
|
|
#-------------------------------------------------
|
|
|
|
#
|
|
|
|
# Pro file for Windows MSVC builds with Qt Creator
|
|
|
|
#
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
CONFIG += plugin
|
|
|
|
|
|
|
|
QT += core gui multimedia opengl
|
|
|
|
|
2018-11-16 07:15:10 +00:00
|
|
|
TARGET = inputsoapysdr
|
2018-11-15 18:07:15 +00:00
|
|
|
|
2019-01-01 14:30:20 +00:00
|
|
|
CONFIG(macx):LIBSOAPYSDRSRC = "../../../../../SoapySDR"
|
|
|
|
|
2018-11-15 18:07:15 +00:00
|
|
|
INCLUDEPATH += $$PWD
|
|
|
|
INCLUDEPATH += ../../../exports
|
|
|
|
INCLUDEPATH += ../../../sdrbase
|
|
|
|
INCLUDEPATH += ../../../sdrgui
|
|
|
|
INCLUDEPATH += ../../../devices
|
|
|
|
INCLUDEPATH += ../../../swagger/sdrangel/code/qt5/client
|
2019-01-27 12:21:12 +00:00
|
|
|
CONFIG(MSVC):INCLUDEPATH += "C:\Program Files\PothosSDR\include"
|
2019-01-01 14:30:20 +00:00
|
|
|
|
|
|
|
INCLUDEPATH += $$LIBSOAPYSDRSRC/include
|
2018-11-15 18:07:15 +00:00
|
|
|
|
|
|
|
CONFIG(Release):build_subdir = release
|
|
|
|
CONFIG(Debug):build_subdir = debug
|
|
|
|
|
|
|
|
SOURCES += soapysdrinput.cpp\
|
|
|
|
soapysdrinputgui.cpp\
|
|
|
|
soapysdrinputplugin.cpp\
|
|
|
|
soapysdrinputsettings.cpp\
|
|
|
|
soapysdrinputthread.cpp
|
|
|
|
|
|
|
|
HEADERS += soapysdrinput.h\
|
|
|
|
soapysdrinputgui.h\
|
|
|
|
soapysdrinputplugin.h\
|
|
|
|
soapysdrinputsettings.h\
|
|
|
|
soapysdrinputthread.h
|
|
|
|
|
|
|
|
FORMS += soapysdrinputgui.ui
|
|
|
|
|
|
|
|
LIBS += -L../../../sdrbase/$${build_subdir} -lsdrbase
|
|
|
|
LIBS += -L../../../sdrgui/$${build_subdir} -lsdrgui
|
|
|
|
LIBS += -L../../../swagger/$${build_subdir} -lswagger
|
2018-11-16 07:15:10 +00:00
|
|
|
LIBS += -L../../../devices/$${build_subdir} -ldevices
|
2019-01-27 12:21:12 +00:00
|
|
|
|
|
|
|
MSVC {
|
|
|
|
LIBS += -L"C:\Program Files\PothosSDR\bin" -L"C:\Program Files\PothosSDR\lib" -lSoapySDR
|
|
|
|
}
|
|
|
|
|
2019-01-01 14:30:20 +00:00
|
|
|
macx {
|
|
|
|
LIBS += -L/usr/local/lib -lSoapySDR
|
|
|
|
QMAKE_LFLAGS_SONAME = -Wl,-install_name,@rpath/
|
|
|
|
}
|