mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-17 05:41:56 -05:00
Windows build: added fcdhid and fcdlib libraries
This commit is contained in:
parent
cb6382708a
commit
065c278c44
22
fcdhid/fcdhid.pro
Normal file
22
fcdhid/fcdhid.pro
Normal file
@ -0,0 +1,22 @@
|
||||
#--------------------------------------------
|
||||
#
|
||||
# Pro file for Windows build with Qt Creator
|
||||
#
|
||||
#--------------------------------------------
|
||||
|
||||
QT += core
|
||||
|
||||
TEMPLATE = lib
|
||||
TARGET = fcdhid
|
||||
|
||||
CONFIG(MINGW32):INCLUDEPATH += "D:\libusb-1.0.19\include"
|
||||
CONFIG(MINGW32):DEFINES += MINGW32=1
|
||||
|
||||
SOURCES = $$PWD/hid-libusb.c\
|
||||
$$PWD/fcdhid.c
|
||||
|
||||
HEADERS = $$PWD/fcdhid.h\
|
||||
$$PWD/hid-libusb.h\
|
||||
$$PWD/hidapi.h
|
||||
|
||||
CONFIG(MINGW32):LIBS += -LD:\libusb-1.0.19\MinGW32\dll -llibusb-1.0 -liconv
|
@ -37,8 +37,10 @@
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#ifndef MINGW32
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/utsname.h>
|
||||
#endif
|
||||
#include <fcntl.h>
|
||||
#include <pthread.h>
|
||||
#include <wchar.h>
|
||||
|
22
fcdlib/fcdlib.pro
Normal file
22
fcdlib/fcdlib.pro
Normal file
@ -0,0 +1,22 @@
|
||||
#--------------------------------------------
|
||||
#
|
||||
# Pro file for Windows build with Qt Creator
|
||||
#
|
||||
#--------------------------------------------
|
||||
|
||||
QT += core
|
||||
|
||||
TEMPLATE = lib
|
||||
TARGET = fcdlib
|
||||
|
||||
CONFIG(MINGW32):INCLUDEPATH += "D:\libusb-1.0.19\include"
|
||||
|
||||
SOURCES = $$PWD/fcdtraits.cpp\
|
||||
$$PWD/fcdproplusconst.cpp\
|
||||
$$PWD/fcdproconst.cpp
|
||||
|
||||
HEADERS = $$PWD/fcdtraits.h\
|
||||
$$PWD/fcdproplusconst.h\
|
||||
$$PWD/fcdproconst.h
|
||||
|
||||
CONFIG(MINGW32):LIBS += -LD:\libusb-1.0.19\MinGW32\dll -llibusb-1.0
|
@ -7,6 +7,8 @@
|
||||
TEMPLATE = subdirs
|
||||
SUBDIRS = sdrbase
|
||||
SUBDIRS += lz4
|
||||
SUBDIRS += fcdhid
|
||||
SUBDIRS += fcdlib
|
||||
SUBDIRS += librtlsdr
|
||||
SUBDIRS += libhackrf
|
||||
SUBDIRS += libairspy
|
||||
|
Loading…
Reference in New Issue
Block a user