mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-22 17:45:48 -05:00
Windows build: added possibility to build with MinGW64 (experimental, does not work)
This commit is contained in:
parent
641e6b529f
commit
27b6aab5f7
@ -12,6 +12,9 @@ TARGET = fcdhid
|
||||
CONFIG(MINGW32):INCLUDEPATH += "D:\libusb-1.0.19\include"
|
||||
CONFIG(MINGW32):DEFINES += MINGW32=1
|
||||
|
||||
CONFIG(MINGW64):INCLUDEPATH += "D:\libusb-1.0.19\include"
|
||||
CONFIG(MINGW64):DEFINES += MINGW32=1
|
||||
|
||||
SOURCES = $$PWD/hid-libusb.c\
|
||||
$$PWD/fcdhid.c
|
||||
|
||||
@ -20,3 +23,4 @@ HEADERS = $$PWD/fcdhid.h\
|
||||
$$PWD/hidapi.h
|
||||
|
||||
CONFIG(MINGW32):LIBS += -LD:\libusb-1.0.19\MinGW32\dll -llibusb-1.0 -liconv
|
||||
CONFIG(MINGW64):LIBS += -LD:\libusb-1.0.19\MinGW64\dll -llibusb-1.0 -liconv
|
||||
|
@ -10,6 +10,7 @@ TEMPLATE = lib
|
||||
TARGET = fcdlib
|
||||
|
||||
CONFIG(MINGW32):INCLUDEPATH += "D:\libusb-1.0.19\include"
|
||||
CONFIG(MINGW64):INCLUDEPATH += "D:\libusb-1.0.19\include"
|
||||
|
||||
SOURCES = $$PWD/fcdtraits.cpp\
|
||||
$$PWD/fcdproplusconst.cpp\
|
||||
@ -20,3 +21,4 @@ HEADERS = $$PWD/fcdtraits.h\
|
||||
$$PWD/fcdproconst.h
|
||||
|
||||
CONFIG(MINGW32):LIBS += -LD:\libusb-1.0.19\MinGW32\dll -llibusb-1.0
|
||||
CONFIG(MINGW64):LIBS += -LD:\libusb-1.0.19\MinGW64\dll -llibusb-1.0
|
||||
|
@ -10,9 +10,11 @@ TEMPLATE = lib
|
||||
TARGET = libairspy
|
||||
|
||||
CONFIG(MINGW32):LIBAIRSPYSRC = "D:\softs\libairspy\libairspy"
|
||||
CONFIG(MINGW64):LIBAIRSPYSRC = "D:\softs\libairspy\libairspy"
|
||||
INCLUDEPATH += $$LIBAIRSPYSRC/src
|
||||
|
||||
CONFIG(MINGW32):INCLUDEPATH += "D:\libusb-1.0.19\include\libusb-1.0"
|
||||
CONFIG(MINGW64):INCLUDEPATH += "D:\libusb-1.0.19\include\libusb-1.0"
|
||||
|
||||
SOURCES = $$LIBAIRSPYSRC/src/airspy.c\
|
||||
$$LIBAIRSPYSRC/src/iqconverter_float.c\
|
||||
@ -25,6 +27,7 @@ HEADERS = $$LIBAIRSPYSRC/src/airspy.h\
|
||||
$$LIBAIRSPYSRC/src/filters.h
|
||||
|
||||
CONFIG(MINGW32):LIBS += -LD:\libusb-1.0.19\MinGW32\dll -llibusb-1.0
|
||||
CONFIG(MINGW64):LIBS += -LD:\libusb-1.0.19\MinGW64\dll -llibusb-1.0
|
||||
|
||||
CONFIG(ANDROID):CONFIG += mobility
|
||||
CONFIG(ANDROID):MOBILITY =
|
||||
|
@ -12,6 +12,9 @@ TARGET = libbladerf
|
||||
CONFIG(MINGW32):LIBBLADERFSRC = "D:\softs\bladeRF"
|
||||
CONFIG(MINGW32):LIBBLADERFCOMMONSRC = "D:\softs\bladeRF\host\common"
|
||||
CONFIG(MINGW32):LIBBLADERFLIBSRC = "D:\softs\bladeRF\host\libraries\libbladeRF"
|
||||
CONFIG(MINGW64):LIBBLADERFSRC = "D:\softs\bladeRF"
|
||||
CONFIG(MINGW64):LIBBLADERFCOMMONSRC = "D:\softs\bladeRF\host\common"
|
||||
CONFIG(MINGW64):LIBBLADERFLIBSRC = "D:\softs\bladeRF\host\libraries\libbladeRF"
|
||||
INCLUDEPATH += $$LIBBLADERFLIBSRC/include
|
||||
INCLUDEPATH += $$LIBBLADERFLIBSRC/src
|
||||
INCLUDEPATH += $$LIBBLADERFSRC/firmware_common
|
||||
@ -21,6 +24,7 @@ INCLUDEPATH += $$LIBBLADERFCOMMONSRC/include/windows
|
||||
INCLUDEPATH += $$PWD/include
|
||||
|
||||
CONFIG(MINGW32):INCLUDEPATH += "D:\libusb-1.0.19\include\libusb-1.0"
|
||||
CONFIG(MINGW64):INCLUDEPATH += "D:\libusb-1.0.19\include\libusb-1.0"
|
||||
|
||||
SOURCES = $$LIBBLADERFLIBSRC/src/async.c\
|
||||
$$LIBBLADERFLIBSRC/src/bladerf_priv.c\
|
||||
@ -91,6 +95,7 @@ HEADERS = $$LIBBLADERFLIBSRC/src/async.h\
|
||||
$$PWD/include/version.h
|
||||
|
||||
CONFIG(MINGW32):LIBS += -LD:\libusb-1.0.19\MinGW32\dll -llibusb-1.0
|
||||
CONFIG(MINGW64):LIBS += -LD:\libusb-1.0.19\MinGW64\dll -llibusb-1.0
|
||||
|
||||
CONFIG(ANDROID):CONFIG += mobility
|
||||
CONFIG(ANDROID):MOBILITY =
|
||||
|
@ -10,15 +10,18 @@ TEMPLATE = lib
|
||||
TARGET = libhackrf
|
||||
|
||||
CONFIG(MINGW32):LIBHACKRFSRC = "D:\softs\hackrf\host\libhackrf"
|
||||
CONFIG(MINGW64):LIBHACKRFSRC = "D:\softs\hackrf\host\libhackrf"
|
||||
INCLUDEPATH += $$LIBHACKRFSRC/src
|
||||
|
||||
CONFIG(MINGW32):INCLUDEPATH += "D:\libusb-1.0.19\include\libusb-1.0"
|
||||
CONFIG(MINGW64):INCLUDEPATH += "D:\libusb-1.0.19\include\libusb-1.0"
|
||||
|
||||
SOURCES = $$LIBHACKRFSRC/src/hackrf.c
|
||||
|
||||
HEADERS = $$LIBHACKRFSRC/src/hackrf.h
|
||||
|
||||
CONFIG(MINGW32):LIBS += -LD:\libusb-1.0.19\MinGW32\dll -llibusb-1.0
|
||||
CONFIG(MINGW64):LIBS += -LD:\libusb-1.0.19\MinGW64\dll -llibusb-1.0
|
||||
|
||||
CONFIG(ANDROID):CONFIG += mobility
|
||||
CONFIG(ANDROID):MOBILITY =
|
||||
|
@ -10,9 +10,11 @@ TEMPLATE = lib
|
||||
TARGET = librtlsdr
|
||||
|
||||
CONFIG(MINGW32):LIBRTLSDRSRC = "D:\softs\librtlsdr"
|
||||
CONFIG(MINGW64):LIBRTLSDRSRC = "D:\softs\librtlsdr"
|
||||
INCLUDEPATH += $$LIBRTLSDRSRC/include
|
||||
|
||||
CONFIG(MINGW32):INCLUDEPATH += "D:\libusb-1.0.19\include\libusb-1.0"
|
||||
CONFIG(MINGW64):INCLUDEPATH += "D:\libusb-1.0.19\include\libusb-1.0"
|
||||
|
||||
SOURCES = $$LIBRTLSDRSRC/src/librtlsdr.c\
|
||||
$$LIBRTLSDRSRC/src/tuner_e4k.c\
|
||||
@ -27,6 +29,7 @@ HEADERS = $$LIBRTLSDRSRC/include/rtl-sdr.h\
|
||||
$$LIBRTLSDRSRC/src/getopt/getopt.h
|
||||
|
||||
CONFIG(MINGW32):LIBS += -LD:\libusb-1.0.19\MinGW32\dll -llibusb-1.0
|
||||
CONFIG(MINGW64):LIBS += -LD:\libusb-1.0.19\MinGW64\dll -llibusb-1.0
|
||||
|
||||
CONFIG(ANDROID):CONFIG += mobility
|
||||
CONFIG(ANDROID):MOBILITY =
|
||||
|
@ -15,6 +15,7 @@ INCLUDEPATH += ../../../sdrbase
|
||||
|
||||
CONFIG(ANDROID):INCLUDEPATH += /opt/softs/boost_1_60_0
|
||||
CONFIG(MINGW32):INCLUDEPATH += "D:\boost_1_58_0"
|
||||
CONFIG(MINGW64):INCLUDEPATH += "D:\boost_1_58_0"
|
||||
|
||||
CONFIG(Release):build_subdir = release
|
||||
CONFIG(Debug):build_subdir = debug
|
||||
|
@ -15,6 +15,7 @@ INCLUDEPATH += ../../../sdrbase
|
||||
|
||||
CONFIG(ANDROID):INCLUDEPATH += /opt/softs/boost_1_60_0
|
||||
CONFIG(MINGW32):INCLUDEPATH += "D:\boost_1_58_0"
|
||||
CONFIG(MINGW64):INCLUDEPATH += "D:\boost_1_58_0"
|
||||
|
||||
CONFIG(Release):build_subdir = release
|
||||
CONFIG(Debug):build_subdir = debug
|
||||
|
@ -12,6 +12,7 @@ QT += core gui widgets multimedia
|
||||
TARGET = inputairspy
|
||||
|
||||
CONFIG(MINGW32):LIBAIRSPYSRC = "D:\softs\libairspy"
|
||||
CONFIG(MINGW64):LIBAIRSPYSRC = "D:\softs\libairspy"
|
||||
INCLUDEPATH += $$PWD
|
||||
INCLUDEPATH += ../../../sdrbase
|
||||
INCLUDEPATH += $$LIBAIRSPYSRC
|
||||
|
@ -12,6 +12,7 @@ QT += core gui widgets multimedia
|
||||
TARGET = inputbladerf
|
||||
|
||||
CONFIG(MINGW32):LIBBLADERFSRC = "D:\softs\bladeRF\host\libraries\libbladeRF\include"
|
||||
CONFIG(MINGW64):LIBBLADERFSRC = "D:\softs\bladeRF\host\libraries\libbladeRF\include"
|
||||
INCLUDEPATH += $$PWD
|
||||
INCLUDEPATH += ../../../sdrbase
|
||||
INCLUDEPATH += $$LIBBLADERFSRC
|
||||
|
@ -12,6 +12,7 @@ QT += core gui widgets multimedia
|
||||
TARGET = inputhackrf
|
||||
|
||||
CONFIG(MINGW32):LIBHACKRFSRC = "D:\softs\hackrf\host"
|
||||
CONFIG(MINGW64):LIBHACKRFSRC = "D:\softs\hackrf\host"
|
||||
INCLUDEPATH += $$PWD
|
||||
INCLUDEPATH += ../../../sdrbase
|
||||
INCLUDEPATH += $$LIBHACKRFSRC
|
||||
|
@ -12,6 +12,7 @@ QT += core gui widgets multimedia
|
||||
TARGET = inputrtlsdr
|
||||
|
||||
CONFIG(MINGW32):LIBRTLSDRSRC = "D:\softs\librtlsdr"
|
||||
CONFIG(MINGW64):LIBRTLSDRSRC = "D:\softs\librtlsdr"
|
||||
INCLUDEPATH += $$PWD
|
||||
INCLUDEPATH += ../../../sdrbase
|
||||
INCLUDEPATH += $$LIBRTLSDRSRC/include
|
||||
|
@ -15,6 +15,7 @@ DEFINES += USE_KISSFFT=1
|
||||
|
||||
CONFIG(ANDROID):INCLUDEPATH += /opt/softs/boost_1_60_0
|
||||
CONFIG(MINGW32):INCLUDEPATH += "D:\boost_1_58_0"
|
||||
CONFIG(MINGW64):INCLUDEPATH += "D:\boost_1_58_0"
|
||||
|
||||
SOURCES += mainwindow.cpp\
|
||||
audio/audiodeviceinfo.cpp\
|
||||
|
Loading…
Reference in New Issue
Block a user