1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-17 23:28:50 -05:00

Windows build: added fcdhid and fcdlib libraries

This commit is contained in:
Edouard Griffiths 2016-03-24 11:30:06 +01:00
parent cb6382708a
commit 065c278c44
4 changed files with 48 additions and 0 deletions

22
fcdhid/fcdhid.pro Normal file
View 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

View File

@ -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
View 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

View File

@ -7,6 +7,8 @@
TEMPLATE = subdirs
SUBDIRS = sdrbase
SUBDIRS += lz4
SUBDIRS += fcdhid
SUBDIRS += fcdlib
SUBDIRS += librtlsdr
SUBDIRS += libhackrf
SUBDIRS += libairspy