mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-25 12:12:02 -05:00
56 lines
1.4 KiB
Prolog
56 lines
1.4 KiB
Prolog
#--------------------------------------------------------
|
|
#
|
|
# Pro file for Android and Windows builds with Qt Creator
|
|
#
|
|
#--------------------------------------------------------
|
|
|
|
TEMPLATE = lib
|
|
CONFIG += plugin
|
|
|
|
QT += core gui widgets multimedia
|
|
|
|
TARGET = modatv
|
|
|
|
DEFINES += USE_SSE2=1
|
|
QMAKE_CXXFLAGS += -msse2
|
|
DEFINES += USE_SSE4_1=1
|
|
QMAKE_CXXFLAGS += -msse4.1
|
|
QMAKE_CXXFLAGS += -std=c++11
|
|
|
|
INCLUDEPATH += $$PWD
|
|
INCLUDEPATH += ../../../swagger/sdrangel/code/qt5/client
|
|
INCLUDEPATH += ../../../exports
|
|
INCLUDEPATH += ../../../sdrbase
|
|
INCLUDEPATH += ../../../sdrgui
|
|
|
|
CONFIG(Release):build_subdir = release
|
|
CONFIG(Debug):build_subdir = debug
|
|
|
|
CONFIG(MINGW32):INCLUDEPATH += "D:\softs\opencv\build\include"
|
|
CONFIG(macx):INCLUDEPATH += "/opt/local/include"
|
|
|
|
SOURCES += atvmod.cpp\
|
|
atvmodgui.cpp\
|
|
atvmodplugin.cpp\
|
|
atvmodsettings.cpp
|
|
|
|
HEADERS += atvmod.h\
|
|
atvmodgui.h\
|
|
atvmodplugin.h\
|
|
atvmodsettings.h
|
|
|
|
FORMS += atvmodgui.ui
|
|
|
|
LIBS += -L../../../sdrbase/$${build_subdir} -lsdrbase
|
|
LIBS += -L../../../sdrgui/$${build_subdir} -lsdrgui
|
|
LIBS += -L../../../swagger/$${build_subdir} -lswagger
|
|
|
|
macx {
|
|
QMAKE_LFLAGS_SONAME = -Wl,-install_name,@rpath/
|
|
}
|
|
|
|
CONFIG(MINGW32):LIBS += -LD:\softs\opencv\build\mw32\install\x86\mingw\bin -llibopencv_core2413 -llibopencv_highgui2413 -llibopencv_imgproc2413
|
|
CONFIG(macx):LIBS += -L/opt/local/lib -lopencv_core -lopencv_highgui -lopencv_imgcodecs -lopencv_imgproc -lopencv_video -lopencv_videoio
|
|
|
|
RESOURCES = ../../../sdrgui/resources/res.qrc
|