2017-01-05 12:26:30 -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
|
2017-05-15 02:27:20 -04:00
|
|
|
DEFINES += USE_SSSE3=1
|
|
|
|
QMAKE_CXXFLAGS += -mssse3
|
2017-01-05 12:26:30 -05:00
|
|
|
DEFINES += USE_SSE4_1=1
|
|
|
|
QMAKE_CXXFLAGS += -msse4.1
|
|
|
|
|
|
|
|
CONFIG(MINGW32):LIBBLADERFSRC = "D:\softs\bladeRF\host\libraries\libbladeRF\include"
|
|
|
|
CONFIG(MINGW64):LIBBLADERFSRC = "D:\softs\bladeRF\host\libraries\libbladeRF\include"
|
2017-05-15 06:32:16 -04:00
|
|
|
CONFIG(macx):LIBHACKRFSRC = "/opt/local/include"
|
2017-01-08 19:18:39 -05:00
|
|
|
CONFIG(MINGW32):LIBHACKRFSRC = "D:\softs\hackrf\host"
|
|
|
|
CONFIG(MINGW64):LIBHACKRFSRC = "D:\softs\hackrf\host"
|
2017-05-09 06:08:48 -04:00
|
|
|
|
2017-01-05 12:26:30 -05:00
|
|
|
INCLUDEPATH += $$PWD
|
2017-05-09 06:08:48 -04:00
|
|
|
INCLUDEPATH += ../sdrbase
|
2017-01-05 12:26:30 -05:00
|
|
|
INCLUDEPATH += $$LIBBLADERFSRC
|
2017-01-08 19:18:39 -05:00
|
|
|
INCLUDEPATH += $$LIBHACKRFSRC
|
2017-05-15 02:27:20 -04:00
|
|
|
CONFIG(MINGW64)INCLUDEPATH += "D:\boost_1_58_0"
|
2017-01-05 12:26:30 -05:00
|
|
|
|
|
|
|
CONFIG(Release):build_subdir = release
|
|
|
|
CONFIG(Debug):build_subdir = debug
|
|
|
|
|
2017-05-15 06:32:16 -04:00
|
|
|
!macx:SOURCES += bladerf/devicebladerf.cpp\
|
2017-08-08 18:31:23 -04:00
|
|
|
bladerf/devicebladerfvalues.cpp\
|
|
|
|
bladerf/devicebladerfshared.cpp
|
2017-05-15 06:32:16 -04:00
|
|
|
|
|
|
|
SOURCES += hackrf/devicehackrf.cpp\
|
2017-07-23 11:44:46 -04:00
|
|
|
hackrf/devicehackrfvalues.cpp\
|
|
|
|
hackrf/devicehackrfshared.cpp
|
2017-05-09 07:19:36 -04:00
|
|
|
|
2017-05-15 06:32:16 -04:00
|
|
|
!macx:HEADERS -= bladerf/devicebladerf.h\
|
2017-01-05 12:26:30 -05:00
|
|
|
bladerf/devicebladerfparam.h\
|
2017-08-08 18:31:23 -04:00
|
|
|
bladerf/devicebladerfvalues.h\
|
|
|
|
bladerf/devicebladerfshared.h
|
2017-05-15 06:32:16 -04:00
|
|
|
|
|
|
|
HEADERS += hackrf/devicehackrf.h\
|
2017-01-08 19:18:39 -05:00
|
|
|
hackrf/devicehackrfparam.h\
|
2017-05-09 06:08:48 -04:00
|
|
|
hackrf/devicehackrfvalues.h\
|
2017-07-23 11:44:46 -04:00
|
|
|
hackrf/devicehackrfshared.h
|
2017-05-09 07:19:36 -04:00
|
|
|
|
2017-01-05 12:26:30 -05:00
|
|
|
LIBS += -L../sdrbase/$${build_subdir} -lsdrbase
|
|
|
|
LIBS += -L../libbladerf/$${build_subdir} -llibbladerf
|
2017-01-08 19:31:58 -05:00
|
|
|
LIBS += -L../libhackrf/$${build_subdir} -llibhackrf
|
2017-05-15 06:32:16 -04:00
|
|
|
|
|
|
|
macx {
|
|
|
|
LIBS -= -L../libbladerf/$${build_subdir} -llibbladerf
|
|
|
|
LIBS -= -L../libhackrf/$${build_subdir} -llibhackrf
|
|
|
|
LIBS += -L/opt/local/lib -lhackrf
|
|
|
|
}
|