Updated OpenRGB.pro to dynamically resolve source files

* Created FORMS macro list dynamically
* Added GUI_H and CONTROLLERS_H list to HEADERS
* Added GUI_CPP and CONTROLLERS_CPP list to SOURCES
* Added unique list of GUI_INCLUDES and CONTROLLER_INCLUDES to INCLUDES
* Adjusted platform specific builds to align build targets
This commit is contained in:
Chris M 2023-11-08 23:02:31 +11:00 committed by Chris
parent f4220dffb7
commit d2b4ff1c56
37 changed files with 98 additions and 1557 deletions

View file

@ -1,14 +1,14 @@
--- a/OpenRGB.pro 2022-05-02 15:26:15.375947000 +0200
+++ b/OpenRGB.pro 2022-05-02 15:29:01.997135000 +0200
@@ -1310,8 +1310,6 @@
@@ -447,8 +447,6 @@
# Linux-specific Configuration #
#-----------------------------------------------------------------------------------------------#
contains(QMAKE_PLATFORM, linux) {
- TARGET = $$lower($$TARGET)
-
INCLUDEPATH += \
Controllers/FaustusController \
Controllers/LinuxLEDController \
HEADERS -= $$CONTROLLER_H_WIN
HEADERS += \
--- a/qt/OpenRGB.desktop 2022-05-02 15:25:52.150332000 +0200
+++ b/qt/OpenRGB.desktop 2022-05-02 15:28:27.749598000 +0200
@@ -3,7 +3,7 @@