mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 14:04:46 -04:00
Windows MSVC2017: PlutoSDR support
This commit is contained in:
@@ -17,17 +17,22 @@ DEFINES += USE_SSE4_1=1
|
||||
QMAKE_CXXFLAGS += -msse4.1
|
||||
QMAKE_CXXFLAGS += -std=c++11
|
||||
|
||||
CONFIG(MINGW32):LIBIIOSRC = "C:\softs\libiio"
|
||||
CONFIG(MINGW64):LIBIIOSRC = "C:\softs\libiio"
|
||||
|
||||
INCLUDEPATH += $$PWD
|
||||
INCLUDEPATH += ../../../exports
|
||||
INCLUDEPATH += ../../../sdrbase
|
||||
INCLUDEPATH += ../../../sdrgui
|
||||
INCLUDEPATH += ../../../swagger/sdrangel/code/qt5/client
|
||||
INCLUDEPATH += ../../../devices
|
||||
INCLUDEPATH += ../../../libiio/includemw
|
||||
INCLUDEPATH += $$LIBIIOSRC
|
||||
|
||||
MINGW32 || MINGW64 {
|
||||
LIBIIOSRC = "C:\softs\libiio"
|
||||
INCLUDEPATH += ../../../libiio/includemw
|
||||
INCLUDEPATH += $$LIBIIOSRC
|
||||
}
|
||||
|
||||
MSVC {
|
||||
INCLUDEPATH += "C:\Program Files\PothosSDR\include"
|
||||
}
|
||||
|
||||
CONFIG(Release):build_subdir = release
|
||||
CONFIG(Debug):build_subdir = debug
|
||||
@@ -49,7 +54,14 @@ FORMS += plutosdrinputgui.ui
|
||||
LIBS += -L../../../sdrbase/$${build_subdir} -lsdrbase
|
||||
LIBS += -L../../../sdrgui/$${build_subdir} -lsdrgui
|
||||
LIBS += -L../../../swagger/$${build_subdir} -lswagger
|
||||
LIBS += -L../../../libiio/$${build_subdir} -llibiio
|
||||
LIBS += -L../../../devices/$${build_subdir} -ldevices
|
||||
|
||||
MINGW32 || MINGW64 {
|
||||
LIBS += -L../../../libiio/$${build_subdir} -llibiio
|
||||
}
|
||||
|
||||
MSVC {
|
||||
LIBS += -L"C:\Program Files\PothosSDR\bin" -L"C:\Program Files\PothosSDR\lib" -llibiio
|
||||
}
|
||||
|
||||
RESOURCES = ../../../sdrgui/resources/res.qrc
|
||||
|
||||
@@ -14,8 +14,6 @@
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
#include "plutosdr/deviceplutosdrbox.h"
|
||||
#include "plutosdrinputsettings.h"
|
||||
#include "plutosdrinputthread.h"
|
||||
|
||||
Reference in New Issue
Block a user