1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-14 04:11:48 -05:00
sdrangel/libperseus/libperseus.pro

50 lines
1.4 KiB
Prolog
Raw Normal View History

2018-02-13 08:25:32 -05:00
#--------------------------------------------------------
#
# Pro file for Android and Windows builds with Qt Creator
#
#--------------------------------------------------------
QT += core
TEMPLATE = lib
TARGET = libperseus
DEFINES += HAVE_CONFIG_H=1
2018-07-11 12:05:05 -04:00
CONFIG(MINGW32):LIBPERSEUSSRC = "C:\softs\libperseus-sdr"
CONFIG(MINGW64):LIBPERSEUSSRC = "C:\softs\libperseus-sdr"
CONFIG(macx):LIBPERSEUSSRC = "../../../libperseus-sdr"
2018-02-13 08:25:32 -05:00
INCLUDEPATH += $$LIBPERSEUSSRC/src
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"
CONFIG(macx):INCLUDEPATH += /opt/local/include
2018-02-13 08:25:32 -05:00
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
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
macx {
HEADERS -= config.windows.h
DEFINES += HAVE_LIBUSB_STRERROR
QMAKE_LFLAGS_SONAME = -Wl,-install_name,@rpath/
LIBS += -L/opt/local/lib -lusb-1.0
}
2018-02-13 08:25:32 -05:00
CONFIG(ANDROID):CONFIG += mobility
CONFIG(ANDROID):MOBILITY =