1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-13 20:01:46 -05:00
sdrangel/libiio/libiio.pro

60 lines
1.7 KiB
Prolog
Raw Normal View History

2017-09-11 02:34:33 -04:00
#--------------------------------------------------------
#
# Pro file for Android and Windows builds with Qt Creator
#
#--------------------------------------------------------
QT += core
TEMPLATE = lib
TARGET = libiio
2018-07-11 12:05:05 -04:00
CONFIG(MINGW32):LIBIIOSRC = "C:\softs\libiio"
CONFIG(MINGW64):LIBIIOSRC = "C:\softs\libiio"
2017-09-11 02:34:33 -04:00
2017-09-11 13:34:59 -04:00
DEFINES += LIBIIO_EXPORTS=1
INCLUDEPATH += $$PWD/includemw
2017-09-11 02:34:33 -04:00
INCLUDEPATH += $$LIBIIOSRC
2019-01-27 12:26:00 -05:00
CONFIG(MINGW32):INCLUDEPATH += "C:\softs\libusb-1.0.21\include"
CONFIG(MINGW64):INCLUDEPATH += "C:\softs\libusb-1.0.21\include"
2017-09-11 02:34:33 -04:00
# LibXml2 Windows distribution from:
# http://xmlsoft.org/sources/win32/
# http://xmlsoft.org/sources/win32/64bit/
2018-07-11 12:05:05 -04:00
CONFIG(MINGW32):INCLUDEPATH += "C:\softs\libxml2-2.7.8.win32\include"
CONFIG(MINGW64):INCLUDEPATH += "C:\softs\libxml2-2.9.3-win32-x86_64\include\libxml2"
2017-09-11 02:34:33 -04:00
SOURCES = $$LIBIIOSRC/backend.c\
$$LIBIIOSRC/buffer.c\
$$LIBIIOSRC/channel.c\
$$LIBIIOSRC/context.c\
$$LIBIIOSRC/device.c\
$$LIBIIOSRC/iiod-client.c\
# $$LIBIIOSRC/local.c\
$$LIBIIOSRC/lock.c\
# $$LIBIIOSRC/network.c\
$$LIBIIOSRC/scan.c\
# $$LIBIIOSRC/serial.c\
$$LIBIIOSRC/usb.c\
$$LIBIIOSRC/utilities.c\
$$LIBIIOSRC/xml.c
HEADERS = $$LIBIIOSRC/debug.h\
$$LIBIIOSRC/iio.h\
$$LIBIIOSRC/iiod-client.h\
$$LIBIIOSRC/iio-lock.h\
$$LIBIIOSRC/iio-private.h\
2017-09-11 13:34:59 -04:00
$$PWD/includemw/iio-config.h
2017-09-11 02:34:33 -04:00
2019-01-27 12:26:00 -05:00
CONFIG(MINGW32):LIBS += -LC:\softs\libusb-1.0.21\MinGW32\dll -llibusb-1.0
CONFIG(MINGW64):LIBS += -LC:\softs\libusb-1.0.21\MinGW64\dll -llibusb-1.0
2017-09-11 02:34:33 -04:00
2018-07-11 12:05:05 -04:00
CONFIG(MINGW32):LIBS += -LC:\softs\libxml2-2.7.8.win32\bin -llibxml2
CONFIG(MINGW64):LIBS += -LC:\softs\libxml2-2.9.3-win32-x86_64\bin -llibxml2-2
2017-09-11 02:34:33 -04:00
CONFIG(ANDROID):CONFIG += mobility
CONFIG(ANDROID):MOBILITY =