2016-06-19 07:56:49 +00:00
|
|
|
#--------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Pro file for Android and Windows builds with Qt Creator
|
|
|
|
#
|
|
|
|
#--------------------------------------------------------
|
|
|
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
CONFIG += plugin
|
|
|
|
|
|
|
|
QT += core gui widgets multimedia network opengl
|
|
|
|
|
2019-02-03 10:09:09 +00:00
|
|
|
TARGET = inputremote
|
2016-06-19 07:56:49 +00:00
|
|
|
|
2018-09-16 08:02:54 +00:00
|
|
|
CONFIG(MINGW32):LIBCM256CCSRC = "C:\softs\cm256cc"
|
2018-11-13 12:06:19 +00:00
|
|
|
CONFIG(MSVC):LIBCM256CCSRC = "C:\softs\cm256cc"
|
2018-03-13 12:50:34 +00:00
|
|
|
CONFIG(macx):LIBCM256CCSRC = "../../../../deps/cm256cc"
|
2016-07-27 16:39:59 +00:00
|
|
|
|
2016-06-19 07:56:49 +00:00
|
|
|
INCLUDEPATH += $$PWD
|
2018-09-16 08:02:54 +00:00
|
|
|
INCLUDEPATH += ../../../exports
|
2016-06-19 07:56:49 +00:00
|
|
|
INCLUDEPATH += ../../../sdrbase
|
2017-10-22 17:12:43 +00:00
|
|
|
INCLUDEPATH += ../../../sdrgui
|
2017-12-09 11:41:42 +00:00
|
|
|
INCLUDEPATH += ../../../swagger/sdrangel/code/qt5/client
|
2018-03-13 12:50:34 +00:00
|
|
|
macx:INCLUDEPATH += /opt/local/include
|
2016-07-27 16:39:59 +00:00
|
|
|
INCLUDEPATH += $$LIBCM256CCSRC
|
|
|
|
|
2016-11-07 17:40:52 +00:00
|
|
|
DEFINES += USE_SSE2=1
|
|
|
|
QMAKE_CXXFLAGS += -msse2
|
2016-11-06 23:42:57 +00:00
|
|
|
DEFINES += USE_SSSE3=1
|
|
|
|
QMAKE_CXXFLAGS += -mssse3
|
2016-11-07 17:40:52 +00:00
|
|
|
DEFINES += USE_SSE4_1=1
|
|
|
|
QMAKE_CXXFLAGS += -msse4.1
|
2017-09-18 11:41:08 +00:00
|
|
|
QMAKE_CXXFLAGS += -std=c++11
|
2016-06-19 07:56:49 +00:00
|
|
|
|
|
|
|
CONFIG(Release):build_subdir = release
|
|
|
|
CONFIG(Debug):build_subdir = debug
|
|
|
|
|
2018-09-16 08:02:54 +00:00
|
|
|
CONFIG(MINGW32):INCLUDEPATH += "C:\softs\boost_1_66_0"
|
2018-11-13 12:06:19 +00:00
|
|
|
CONFIG(MSVC):INCLUDEPATH += "C:\softs\boost_1_66_0"
|
2019-01-01 14:30:20 +00:00
|
|
|
CONFIG(macx):INCLUDEPATH += "../../../../../boost_1_69_0"
|
2016-07-27 16:39:59 +00:00
|
|
|
|
2019-02-02 23:26:26 +00:00
|
|
|
SOURCES += remoteinputbuffer.cpp\
|
|
|
|
remoteinputgui.cpp\
|
|
|
|
remoteinput.cpp\
|
|
|
|
remoteinputsettings.cpp\
|
|
|
|
remoteinputplugin.cpp\
|
2019-02-03 10:09:09 +00:00
|
|
|
remoteinputudphandler.cpp
|
2017-06-09 11:58:27 +00:00
|
|
|
|
2019-02-02 23:26:26 +00:00
|
|
|
HEADERS += remoteinputbuffer.h\
|
|
|
|
remoteinputgui.h\
|
|
|
|
remoteinput.h\
|
|
|
|
remoteinputsettings.h\
|
|
|
|
remoteinputplugin.h\
|
2019-02-03 10:09:09 +00:00
|
|
|
remoteinputudphandler.h
|
2017-06-09 11:58:27 +00:00
|
|
|
|
2019-02-02 23:26:26 +00:00
|
|
|
FORMS += remoteinputgui.ui
|
2016-06-19 07:56:49 +00:00
|
|
|
|
|
|
|
LIBS += -L../../../sdrbase/$${build_subdir} -lsdrbase
|
2017-10-22 17:12:43 +00:00
|
|
|
LIBS += -L../../../sdrgui/$${build_subdir} -lsdrgui
|
2017-12-09 11:41:42 +00:00
|
|
|
LIBS += -L../../../swagger/$${build_subdir} -lswagger
|
2016-07-27 16:39:59 +00:00
|
|
|
LIBS += -L../../../cm256cc/$${build_subdir} -lcm256cc
|
2016-06-19 07:56:49 +00:00
|
|
|
|
2018-12-27 08:48:30 +00:00
|
|
|
macx {
|
2019-01-01 14:30:20 +00:00
|
|
|
LIBS -= -L../../../nanomsg/$${build_subdir} -lnanomsg
|
|
|
|
LIBS += -L/usr/local/lib -lnanomsg
|
2018-12-27 08:48:30 +00:00
|
|
|
QMAKE_LFLAGS_SONAME = -Wl,-install_name,@rpath/
|
|
|
|
}
|
|
|
|
|
2017-10-22 17:12:43 +00:00
|
|
|
RESOURCES = ../../../sdrgui/resources/res.qrc
|
2016-06-19 07:56:49 +00:00
|
|
|
|
|
|
|
CONFIG(MINGW32):DEFINES += USE_INTERNAL_TIMER=1
|