2018-02-13 09:01:16 -05:00
|
|
|
#--------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Pro file for Android and Windows builds with Qt Creator
|
|
|
|
#
|
|
|
|
#--------------------------------------------------------
|
|
|
|
|
|
|
|
QT += core gui multimedia opengl
|
|
|
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
TARGET = devices
|
|
|
|
|
|
|
|
DEFINES += USE_SSE2=1
|
|
|
|
QMAKE_CXXFLAGS += -msse2
|
|
|
|
DEFINES += USE_SSSE3=1
|
|
|
|
QMAKE_CXXFLAGS += -mssse3
|
|
|
|
DEFINES += USE_SSE4_1=1
|
|
|
|
QMAKE_CXXFLAGS += -msse4.1
|
|
|
|
QMAKE_CXXFLAGS += -std=c++11
|
2018-03-13 08:50:34 -04:00
|
|
|
macx:QMAKE_LFLAGS += -F/Library/Frameworks
|
2018-02-13 09:01:16 -05:00
|
|
|
|
2018-07-11 12:05:05 -04:00
|
|
|
CONFIG(MINGW32):LIBBLADERFSRC = "C:\softs\bladeRF\host\libraries\libbladeRF\include"
|
|
|
|
CONFIG(MINGW64):LIBBLADERFSRC = "C:\softs\bladeRF\host\libraries\libbladeRF\include"
|
2018-02-13 09:01:16 -05:00
|
|
|
CONFIG(macx):LIBHACKRFSRC = "/opt/local/include"
|
2018-07-11 12:05:05 -04:00
|
|
|
CONFIG(MINGW32):LIBHACKRFSRC = "C:\softs\hackrf\host"
|
|
|
|
CONFIG(MINGW64):LIBHACKRFSRC = "C:\softs\hackrf\host"
|
2018-03-13 08:50:34 -04:00
|
|
|
CONFIG(macx):LIBLIMESUITESRC = "../../../LimeSuite-17.12.0"
|
2018-07-11 12:05:05 -04:00
|
|
|
CONFIG(MINGW32):LIBLIMESUITESRC = "C:\softs\LimeSuite"
|
|
|
|
CONFIG(MINGW64):LIBLIMESUITESRC = "C:\softs\LimeSuite"
|
|
|
|
CONFIG(MINGW32):LIBPERSEUSSRC = "C:\softs\libperseus-sdr"
|
2018-03-13 08:50:34 -04:00
|
|
|
CONFIG(macx):LIBIIOSRC = "../../../libiio"
|
2018-07-11 12:05:05 -04:00
|
|
|
CONFIG(MINGW32):LIBIIOSRC = "C:\softs\libiio"
|
|
|
|
CONFIG(MINGW64):LIBIIOSRC = "C:\softs\libiio"
|
2018-02-13 09:01:16 -05:00
|
|
|
|
|
|
|
INCLUDEPATH += $$PWD
|
2018-03-10 14:32:46 -05:00
|
|
|
INCLUDEPATH += ../exports
|
2018-02-13 09:01:16 -05:00
|
|
|
INCLUDEPATH += ../sdrbase
|
|
|
|
INCLUDEPATH += $$LIBBLADERFSRC
|
|
|
|
INCLUDEPATH += $$LIBHACKRFSRC
|
2018-07-11 12:05:05 -04:00
|
|
|
INCLUDEPATH += "C:\softs\boost_1_66_0"
|
|
|
|
INCLUDEPATH += "C:\softs\libusb-1.0.20\include"
|
2018-02-13 09:01:16 -05:00
|
|
|
INCLUDEPATH += ../liblimesuite/srcmw
|
|
|
|
INCLUDEPATH += $$LIBLIMESUITESRC/src
|
|
|
|
INCLUDEPATH += $$LIBLIMESUITESRC/src/ADF4002
|
|
|
|
INCLUDEPATH += $$LIBLIMESUITESRC/src/ConnectionRegistry
|
|
|
|
INCLUDEPATH += $$LIBLIMESUITESRC/src/FPGA_common
|
|
|
|
INCLUDEPATH += $$LIBLIMESUITESRC/src/GFIR
|
|
|
|
INCLUDEPATH += $$LIBLIMESUITESRC/src/lms7002m
|
|
|
|
INCLUDEPATH += $$LIBLIMESUITESRC/src/lms7002m_mcu
|
|
|
|
INCLUDEPATH += $$LIBLIMESUITESRC/src/Si5351C
|
|
|
|
INCLUDEPATH += $$LIBLIMESUITESRC/src/protocols
|
|
|
|
INCLUDEPATH += $$LIBLIMESUITESRC/external/cpp-feather-ini-parser
|
|
|
|
INCLUDEPATH += $$LIBPERSEUSSRC
|
2018-03-13 08:50:34 -04:00
|
|
|
!macx:INCLUDEPATH += $$LIBIIOSRC
|
2018-02-13 09:01:16 -05:00
|
|
|
|
|
|
|
CONFIG(Release):build_subdir = release
|
|
|
|
CONFIG(Debug):build_subdir = debug
|
|
|
|
|
|
|
|
!macx:SOURCES += bladerf/devicebladerf.cpp\
|
|
|
|
bladerf/devicebladerfvalues.cpp\
|
|
|
|
bladerf/devicebladerfshared.cpp
|
|
|
|
|
|
|
|
SOURCES += hackrf/devicehackrf.cpp\
|
|
|
|
hackrf/devicehackrfvalues.cpp\
|
|
|
|
hackrf/devicehackrfshared.cpp
|
|
|
|
|
|
|
|
SOURCES += limesdr/devicelimesdr.cpp\
|
|
|
|
limesdr/devicelimesdrparam.cpp\
|
|
|
|
limesdr/devicelimesdrshared.cpp
|
|
|
|
|
2018-03-13 08:50:34 -04:00
|
|
|
!macx:SOURCES += plutosdr/deviceplutosdr.cpp\
|
2018-02-13 09:01:16 -05:00
|
|
|
plutosdr/deviceplutosdrbox.cpp\
|
|
|
|
plutosdr/deviceplutosdrparams.cpp\
|
|
|
|
plutosdr/deviceplutosdrscan.cpp\
|
|
|
|
plutosdr/deviceplutosdrshared.cpp
|
|
|
|
|
|
|
|
!macx:HEADERS -= bladerf/devicebladerf.h\
|
|
|
|
bladerf/devicebladerfparam.h\
|
|
|
|
bladerf/devicebladerfvalues.h\
|
|
|
|
bladerf/devicebladerfshared.h
|
|
|
|
|
|
|
|
HEADERS += hackrf/devicehackrf.h\
|
|
|
|
hackrf/devicehackrfparam.h\
|
|
|
|
hackrf/devicehackrfvalues.h\
|
|
|
|
hackrf/devicehackrfshared.h
|
|
|
|
|
|
|
|
HEADERS += limesdr/devicelimesdr.h\
|
|
|
|
limesdr/devicelimesdrparam.h\
|
|
|
|
limesdr/devicelimesdrshared.h
|
|
|
|
|
|
|
|
HEADERS += plutosdr/deviceplutosdr.h\
|
|
|
|
plutosdr/deviceplutosdrbox.h\
|
|
|
|
plutosdr/deviceplutosdrparams.h\
|
|
|
|
plutosdr/deviceplutosdrscan.h\
|
|
|
|
plutosdr/deviceplutosdrshared.h
|
|
|
|
|
|
|
|
LIBS += -L../sdrbase/$${build_subdir} -lsdrbase
|
2018-03-13 08:50:34 -04:00
|
|
|
!macx {
|
|
|
|
LIBS += -L../libbladerf/$${build_subdir} -llibbladerf
|
|
|
|
LIBS += -L../libhackrf/$${build_subdir} -llibhackrf
|
|
|
|
LIBS += -L../liblimesuite/$${build_subdir} -lliblimesuite
|
|
|
|
LIBS += -L../libiio/$${build_subdir} -llibiio
|
|
|
|
}
|
2018-02-13 09:01:16 -05:00
|
|
|
macx {
|
|
|
|
LIBS -= -L../libbladerf/$${build_subdir} -llibbladerf
|
|
|
|
LIBS -= -L../libhackrf/$${build_subdir} -llibhackrf
|
|
|
|
LIBS += -L/opt/local/lib -lhackrf
|
2018-03-13 08:50:34 -04:00
|
|
|
LIBS += -L/usr/local/lib -lLimeSuite
|
|
|
|
LIBS += -framework iio
|
2018-02-13 09:01:16 -05:00
|
|
|
}
|