mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-23 08:28:36 -05:00
110 lines
3.7 KiB
Prolog
110 lines
3.7 KiB
Prolog
#--------------------------------------------------------
|
|
#
|
|
# 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
|
|
|
|
CONFIG(MINGW32):LIBBLADERFSRC = "D:\softs\bladeRF\host\libraries\libbladeRF\include"
|
|
CONFIG(MINGW64):LIBBLADERFSRC = "D:\softs\bladeRF\host\libraries\libbladeRF\include"
|
|
CONFIG(macx):LIBHACKRFSRC = "/opt/local/include"
|
|
CONFIG(MINGW32):LIBHACKRFSRC = "D:\softs\hackrf\host"
|
|
CONFIG(MINGW64):LIBHACKRFSRC = "D:\softs\hackrf\host"
|
|
CONFIG(MINGW32):LIBLIMESUITESRC = "D:\softs\LimeSuite"
|
|
CONFIG(MINGW64):LIBLIMESUITESRC = "D:\softs\LimeSuite"
|
|
CONFIG(MINGW32):LIBPERSEUSSRC = "D:\softs\libperseus-sdr"
|
|
CONFIG(MINGW32):LIBIIOSRC = "D:\softs\libiio"
|
|
CONFIG(MINGW64):LIBIIOSRC = "D:\softs\libiio"
|
|
|
|
INCLUDEPATH += $$PWD
|
|
INCLUDEPATH += ../sdrbase
|
|
INCLUDEPATH += $$LIBBLADERFSRC
|
|
INCLUDEPATH += $$LIBHACKRFSRC
|
|
INCLUDEPATH += "D:\boost_1_58_0"
|
|
INCLUDEPATH += "D:\softs\libusb-1.0.20\include"
|
|
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
|
|
INCLUDEPATH += $$LIBIIOSRC
|
|
|
|
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
|
|
|
|
SOURCES += perseus/deviceperseus.cpp\
|
|
perseus/deviceperseusscan.cpp
|
|
|
|
SOURCES += plutosdr/deviceplutosdr.cpp\
|
|
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 += perseus/deviceperseus.h\
|
|
perseus/deviceperseusscan.h
|
|
|
|
HEADERS += plutosdr/deviceplutosdr.h\
|
|
plutosdr/deviceplutosdrbox.h\
|
|
plutosdr/deviceplutosdrparams.h\
|
|
plutosdr/deviceplutosdrscan.h\
|
|
plutosdr/deviceplutosdrshared.h
|
|
|
|
LIBS += -L../sdrbase/$${build_subdir} -lsdrbase
|
|
LIBS += -L../libbladerf/$${build_subdir} -llibbladerf
|
|
LIBS += -L../libhackrf/$${build_subdir} -llibhackrf
|
|
LIBS += -L../liblimesuite/$${build_subdir} -lliblimesuite
|
|
LIBS += -L../libperseus/$${build_subdir} -lperseus
|
|
LIBS += -L../libiio/$${build_subdir} -llibiio
|
|
|
|
macx {
|
|
LIBS -= -L../libbladerf/$${build_subdir} -llibbladerf
|
|
LIBS -= -L../libhackrf/$${build_subdir} -llibhackrf
|
|
LIBS += -L/opt/local/lib -lhackrf
|
|
}
|