2021-01-05 05:44:23 +00:00
|
|
|
#-----------------------------------------------------------------------------------------------#
|
2021-01-06 06:36:42 +00:00
|
|
|
# OpenRGB E1.31 Receiver Plugin QMake Project #
|
2021-01-05 05:44:23 +00:00
|
|
|
# #
|
|
|
|
|
# herosilas12 (CoffeeIsLife) 12/11/2020 #
|
|
|
|
|
# Adam Honse (CalcProgrammer1) 1/5/2021 #
|
|
|
|
|
#-----------------------------------------------------------------------------------------------#
|
|
|
|
|
|
|
|
|
|
#-----------------------------------------------------------------------------------------------#
|
|
|
|
|
# Qt Configuration #
|
|
|
|
|
#-----------------------------------------------------------------------------------------------#
|
|
|
|
|
QT += \
|
|
|
|
|
core \
|
|
|
|
|
gui \
|
|
|
|
|
|
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
|
|
2022-12-03 08:30:06 +00:00
|
|
|
|
2021-01-05 05:44:23 +00:00
|
|
|
#-----------------------------------------------------------------------------------------------#
|
2022-12-03 08:30:06 +00:00
|
|
|
# Automatically generated build information #
|
2021-01-05 05:44:23 +00:00
|
|
|
#-----------------------------------------------------------------------------------------------#
|
2022-12-03 08:30:24 +00:00
|
|
|
PLUGIN_VERSION = 0.81
|
2022-12-03 08:30:06 +00:00
|
|
|
GIT_COMMIT_ID = $$system(git --git-dir $$_PRO_FILE_PWD_/.git --work-tree $$_PRO_FILE_PWD_ rev-parse HEAD)
|
2021-01-05 05:44:23 +00:00
|
|
|
|
2022-12-03 08:30:06 +00:00
|
|
|
DEFINES += \
|
|
|
|
|
VERSION_STRING=\\"\"\"$$PLUGIN_VERSION\\"\"\" \
|
|
|
|
|
GIT_COMMIT_ID=\\"\"\"$$GIT_COMMIT_ID\\"\"\"
|
|
|
|
|
|
|
|
|
|
#-----------------------------------------------------------------------------------------------#
|
|
|
|
|
# Application Configuration #
|
|
|
|
|
#-----------------------------------------------------------------------------------------------#
|
2021-01-05 05:44:23 +00:00
|
|
|
TEMPLATE = lib
|
|
|
|
|
DEFINES += ORGBEXAMPLEPLUGIN_LIBRARY
|
|
|
|
|
|
|
|
|
|
CONFIG += c++11
|
|
|
|
|
|
|
|
|
|
#-----------------------------------------------------------------------------------------------#
|
|
|
|
|
# Plugin Project Files #
|
|
|
|
|
#-----------------------------------------------------------------------------------------------#
|
2021-01-06 06:36:42 +00:00
|
|
|
INCLUDEPATH += \
|
|
|
|
|
dependencies/libe131/src/ \
|
|
|
|
|
|
2021-01-05 05:44:23 +00:00
|
|
|
SOURCES += \
|
2021-01-06 06:36:42 +00:00
|
|
|
dependencies/libe131/src/e131.c \
|
|
|
|
|
OpenRGBE131ReceiverDialog.cpp \
|
|
|
|
|
OpenRGBE131ReceiverPlugin.cpp \
|
2021-01-05 05:44:23 +00:00
|
|
|
|
|
|
|
|
HEADERS += \
|
2021-01-06 06:36:42 +00:00
|
|
|
dependencies/libe131/src/e131.h \
|
|
|
|
|
OpenRGBE131ReceiverDialog.h \
|
|
|
|
|
OpenRGBE131ReceiverPlugin.h \
|
2021-01-05 05:44:23 +00:00
|
|
|
|
|
|
|
|
#-----------------------------------------------------------------------------------------------#
|
|
|
|
|
# OpenRGB Plugin SDK #
|
|
|
|
|
#-----------------------------------------------------------------------------------------------#
|
|
|
|
|
INCLUDEPATH += \
|
|
|
|
|
OpenRGB/ \
|
|
|
|
|
OpenRGB/dependencies/json \
|
|
|
|
|
OpenRGB/i2c_smbus \
|
|
|
|
|
OpenRGB/net_port \
|
|
|
|
|
OpenRGB/RGBController \
|
|
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
|
OpenRGB/NetworkClient.h \
|
|
|
|
|
OpenRGB/NetworkProtocol.h \
|
|
|
|
|
OpenRGB/NetworkServer.h \
|
|
|
|
|
OpenRGB/OpenRGBPluginInterface.h \
|
|
|
|
|
OpenRGB/ProfileManager.h \
|
|
|
|
|
OpenRGB/ResourceManager.h \
|
|
|
|
|
OpenRGB/SettingsManager.h \
|
|
|
|
|
OpenRGB/dependencies/json/json.hpp \
|
|
|
|
|
OpenRGB/i2c_smbus/i2c_smbus.h \
|
|
|
|
|
OpenRGB/net_port/net_port.h \
|
|
|
|
|
OpenRGB/RGBController/RGBController.h \
|
|
|
|
|
|
2021-01-06 06:36:42 +00:00
|
|
|
#-----------------------------------------------------------------------------------------------#
|
|
|
|
|
# Windows-specific Configuration #
|
|
|
|
|
#-----------------------------------------------------------------------------------------------#
|
|
|
|
|
win32:contains(QMAKE_TARGET.arch, x86_64) {
|
|
|
|
|
LIBS += \
|
|
|
|
|
-lws2_32 \
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
win32:contains(QMAKE_TARGET.arch, x86) {
|
|
|
|
|
LIBS += \
|
|
|
|
|
-lws2_32 \
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
win32:DEFINES -= \
|
|
|
|
|
UNICODE
|
|
|
|
|
|
|
|
|
|
win32:DEFINES += \
|
|
|
|
|
_MBCS \
|
|
|
|
|
WIN32 \
|
|
|
|
|
_CRT_SECURE_NO_WARNINGS \
|
|
|
|
|
_WINSOCK_DEPRECATED_NO_WARNINGS \
|
|
|
|
|
WIN32_LEAN_AND_MEAN
|
|
|
|
|
|
2021-01-05 05:44:23 +00:00
|
|
|
#-----------------------------------------------------------------------------------------------#
|
|
|
|
|
# Default rules for deployment. #
|
|
|
|
|
#-----------------------------------------------------------------------------------------------#
|
2021-04-20 20:09:07 +00:00
|
|
|
unix:!macx {
|
2021-01-05 05:44:23 +00:00
|
|
|
target.path = /usr/lib
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
!isEmpty(target.path): INSTALLS += target
|
2021-01-06 06:36:42 +00:00
|
|
|
|
|
|
|
|
FORMS += \
|
|
|
|
|
OpenRGBE131ReceiverDialog.ui
|
2021-04-20 20:09:07 +00:00
|
|
|
|
|
|
|
|
#-----------------------------------------------------------------------#
|
|
|
|
|
# MacOS-specific Configuration #
|
|
|
|
|
#-----------------------------------------------------------------------#
|
|
|
|
|
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.15
|
|
|
|
|
|
|
|
|
|
macx: {
|
|
|
|
|
CONFIG += c++17
|
|
|
|
|
LIBS += -framework OpenAL
|
|
|
|
|
}
|
2022-12-03 08:30:06 +00:00
|
|
|
|
|
|
|
|
RESOURCES += \
|
|
|
|
|
resources.qrc
|