2017-09-12 07:54:32 -04:00
|
|
|
#--------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Pro file for Android and Windows builds with Qt Creator
|
|
|
|
#
|
|
|
|
#--------------------------------------------------------
|
|
|
|
|
|
|
|
QT += core
|
|
|
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
TARGET = liblimesuite
|
|
|
|
|
|
|
|
DEFINES += ENOLINK=21
|
2018-03-15 12:37:36 -04:00
|
|
|
DEFINES += "__unix__"
|
2017-09-12 07:54:32 -04:00
|
|
|
|
2017-09-21 14:29:57 -04:00
|
|
|
QMAKE_CXXFLAGS += -fpermissive
|
|
|
|
QMAKE_CXXFLAGS += -std=c++11
|
2017-09-12 07:54:32 -04:00
|
|
|
|
2018-07-11 12:05:05 -04:00
|
|
|
CONFIG(MINGW32):LIBLIMESUITESRC = "C:\softs\LimeSuite"
|
|
|
|
CONFIG(MINGW64):LIBLIMESUITESRC = "C:\softs\LimeSuite"
|
2019-01-01 09:30:20 -05:00
|
|
|
CONFIG(macx):LIBLIMESUITESRC = "../../../LimeSuite-18.10.0"
|
2017-09-12 07:54:32 -04:00
|
|
|
|
2019-01-27 12:26:00 -05:00
|
|
|
CONFIG(MINGW32):INCLUDEPATH += "C:\softs\libusb-1.0.21\include\libusb-1.0"
|
|
|
|
CONFIG(MINGW64):INCLUDEPATH += "C:\softs\libusb-1.0.21\include"
|
2017-09-12 07:54:32 -04:00
|
|
|
|
2019-01-01 09:30:20 -05:00
|
|
|
macx {
|
|
|
|
INCLUDEPATH += "/opt/local/include"
|
|
|
|
INCLUDEPATH += "/opt/local/include/libusb-1.0"
|
|
|
|
}
|
|
|
|
|
2018-07-11 12:05:05 -04:00
|
|
|
#CONFIG(MINGW32):INCLUDEPATH += "..\libsqlite3\src"
|
|
|
|
#CONFIG(MINGW64):INCLUDEPATH += "..\libsqlite3\src"
|
2017-09-12 07:54:32 -04:00
|
|
|
|
|
|
|
INCLUDEPATH += $$LIBLIMESUITESRC/src
|
2018-10-22 08:56:09 -04:00
|
|
|
INCLUDEPATH += $$LIBLIMESUITESRC/src/lime
|
2017-09-12 07:54:32 -04:00
|
|
|
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
|
|
|
|
|
2018-03-15 12:37:36 -04:00
|
|
|
SOURCES = $$LIBLIMESUITESRC/src/Logger.cpp\
|
|
|
|
$$LIBLIMESUITESRC/src/ADF4002/ADF4002.cpp\
|
|
|
|
$$LIBLIMESUITESRC/src/lms7002m_mcu/MCU_BD.cpp\
|
|
|
|
$$LIBLIMESUITESRC/src/ConnectionRegistry/IConnection.cpp\
|
|
|
|
$$LIBLIMESUITESRC/src/ConnectionRegistry/ConnectionHandle.cpp\
|
|
|
|
$$LIBLIMESUITESRC/src/ConnectionRegistry/ConnectionRegistry.cpp\
|
|
|
|
$$LIBLIMESUITESRC/src/lms7002m/LMS7002M_RegistersMap.cpp\
|
|
|
|
$$LIBLIMESUITESRC/src/lms7002m/LMS7002M_parameters.cpp\
|
|
|
|
$$LIBLIMESUITESRC/src/lms7002m/LMS7002M.cpp\
|
|
|
|
$$LIBLIMESUITESRC/src/lms7002m/LMS7002M_RxTxCalibrations.cpp\
|
|
|
|
$$LIBLIMESUITESRC/src/lms7002m/LMS7002M_BaseCalibrations.cpp\
|
|
|
|
$$LIBLIMESUITESRC/src/lms7002m/goert.cpp\
|
|
|
|
$$LIBLIMESUITESRC/src/lms7002m/mcu_dc_iq_calibration.cpp\
|
|
|
|
$$LIBLIMESUITESRC/src/lms7002m/LMS7002M_filtersCalibration.cpp\
|
|
|
|
$$LIBLIMESUITESRC/src/lms7002m/LMS7002M_gainCalibrations.cpp\
|
|
|
|
$$LIBLIMESUITESRC/src/protocols/LMS64CProtocol.cpp\
|
|
|
|
$$LIBLIMESUITESRC/src/protocols/Streamer.cpp\
|
|
|
|
$$LIBLIMESUITESRC/src/protocols/ConnectionImages.cpp\
|
|
|
|
$$LIBLIMESUITESRC/src/Si5351C/Si5351C.cpp\
|
2017-09-12 07:54:32 -04:00
|
|
|
$$LIBLIMESUITESRC/src/API/lms7_api.cpp\
|
|
|
|
$$LIBLIMESUITESRC/src/API/lms7_device.cpp\
|
2018-03-15 12:37:36 -04:00
|
|
|
$$LIBLIMESUITESRC/src/API/LmsGeneric.cpp\
|
2017-09-12 07:54:32 -04:00
|
|
|
$$LIBLIMESUITESRC/src/API/qLimeSDR.cpp\
|
2018-03-15 12:37:36 -04:00
|
|
|
$$LIBLIMESUITESRC/src/API/LimeSDR_mini.cpp\
|
|
|
|
$$LIBLIMESUITESRC/src/API/LimeSDR.cpp\
|
2017-09-12 07:54:32 -04:00
|
|
|
$$LIBLIMESUITESRC/src/FPGA_common/FPGA_common.cpp\
|
2018-03-15 12:37:36 -04:00
|
|
|
$$LIBLIMESUITESRC/src/FPGA_common/FPGA_Mini.cpp\
|
|
|
|
$$LIBLIMESUITESRC/src/FPGA_common/FPGA_Q.cpp\
|
2017-09-12 07:54:32 -04:00
|
|
|
$$LIBLIMESUITESRC/src/GFIR/corrections.c\
|
|
|
|
$$LIBLIMESUITESRC/src/GFIR/gfir_lms.c\
|
|
|
|
$$LIBLIMESUITESRC/src/GFIR/lms.c\
|
|
|
|
$$LIBLIMESUITESRC/src/GFIR/recipes.c\
|
|
|
|
$$LIBLIMESUITESRC/src/GFIR/rounding.c\
|
2018-03-15 12:37:36 -04:00
|
|
|
$$LIBLIMESUITESRC/src/windowFunction.cpp\
|
|
|
|
$$LIBLIMESUITESRC/src/ConnectionFTDI/ConnectionFT601.cpp\
|
|
|
|
$$LIBLIMESUITESRC/src/ConnectionFTDI//ConnectionFT601Entry.cpp\
|
|
|
|
$$LIBLIMESUITESRC/src/ConnectionFX3/ConnectionFX3Entry.cpp\
|
|
|
|
$$LIBLIMESUITESRC/src/ConnectionFX3/ConnectionFX3.cpp\
|
|
|
|
src/BuiltinConnections.cpp\
|
2017-09-12 07:54:32 -04:00
|
|
|
src/SystemResources.cpp\
|
|
|
|
src/VersionInfo.cpp
|
|
|
|
|
2018-03-15 12:37:36 -04:00
|
|
|
HEADERS = $$LIBLIMESUITESRC/src/API/*.h\
|
|
|
|
$$LIBLIMESUITESRC/src/GFIR/*.h\
|
|
|
|
$$LIBLIMESUITESRC/src/protocols/*.h\
|
|
|
|
$$LIBLIMESUITESRC/src/ConnectionRegistry/*.h\
|
|
|
|
$$LIBLIMESUITESRC/src/lms7002m_mcu/*.h\
|
|
|
|
$$LIBLIMESUITESRC/src/ADF4002/*.h\
|
|
|
|
$$LIBLIMESUITESRC/src/Si5351C/*.h\
|
|
|
|
$$LIBLIMESUITESRC/src/lms7002m/*.h\
|
|
|
|
$$LIBLIMESUITESRC/src/FPGA_common/*.h\
|
2018-04-20 13:07:18 -04:00
|
|
|
$$LIBLIMESUITESRC/src/HPM7/*.h
|
2017-09-12 07:54:32 -04:00
|
|
|
|
2019-01-27 12:26:00 -05:00
|
|
|
CONFIG(MINGW32):LIBS += -LC:\softs\libusb-1.0.21\MinGW32\dll -llibusb-1.0
|
|
|
|
CONFIG(MINGW64):LIBS += -LC:\softs\libusb-1.0.21\MinGW64\dll -llibusb-1.0
|
2019-01-01 09:30:20 -05:00
|
|
|
macx {
|
|
|
|
SOURCES =
|
|
|
|
HEADERS =
|
|
|
|
LIBS += -L/opt/install/LimeSuite/lib/ -lLimeSuite
|
|
|
|
LIBS += -L/opt/local/lib -lusb-1.0
|
|
|
|
}
|
2018-07-11 12:05:05 -04:00
|
|
|
#CONFIG(MINGW32):LIBS += -L../libsqlite3/release -llibsqlite3
|
|
|
|
#CONFIG(MINGW64):LIBS += -L../libsqlite3/release -llibsqlite3
|
2017-09-12 07:54:32 -04:00
|
|
|
|
|
|
|
CONFIG(ANDROID):CONFIG += mobility
|
|
|
|
CONFIG(ANDROID):MOBILITY =
|
|
|
|
|