1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-09 01:56:05 -05:00
sdrangel/libperseus/libperseus.pro
2019-01-27 18:26:00 +01:00

50 lines
1.4 KiB
Prolog

#--------------------------------------------------------
#
# Pro file for Android and Windows builds with Qt Creator
#
#--------------------------------------------------------
QT += core
TEMPLATE = lib
TARGET = libperseus
DEFINES += HAVE_CONFIG_H=1
CONFIG(MINGW32):LIBPERSEUSSRC = "C:\softs\libperseus-sdr"
CONFIG(MINGW64):LIBPERSEUSSRC = "C:\softs\libperseus-sdr"
CONFIG(macx):LIBPERSEUSSRC = "../../../libperseus-sdr"
INCLUDEPATH += $$LIBPERSEUSSRC/src
CONFIG(MINGW32):INCLUDEPATH += "C:\softs\libusb-1.0.21\include"
CONFIG(MINGW64):INCLUDEPATH += "C:\softs\libusb-1.0.21\include"
CONFIG(macx):INCLUDEPATH += /opt/local/include
SOURCES = fpga_data.c\
$$LIBPERSEUSSRC/fifo.c\
$$LIBPERSEUSSRC/perseuserr.c\
$$LIBPERSEUSSRC/perseusfx2.c\
$$LIBPERSEUSSRC/perseus-in.c\
$$LIBPERSEUSSRC/perseus-sdr.c
HEADERS = fpga_data.h\
config.h\
config.windows.h\
$$LIBPERSEUSSRC/fifo.h\
$$LIBPERSEUSSRC/perseuserr.h\
$$LIBPERSEUSSRC/perseusfx2.h\
$$LIBPERSEUSSRC/perseus-in.h\
$$LIBPERSEUSSRC/perseus-sdr.h
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
macx {
HEADERS -= config.windows.h
DEFINES += HAVE_LIBUSB_STRERROR
QMAKE_LFLAGS_SONAME = -Wl,-install_name,@rpath/
LIBS += -L/opt/local/lib -lusb-1.0
}
CONFIG(ANDROID):CONFIG += mobility
CONFIG(ANDROID):MOBILITY =