1- # -------------------------------------------------
2- #
3- # Project created by QtCreator 2016-12-18T13:03:22
4- #
5- # -------------------------------------------------
6-
7- QT += core gui
1+ # -----------------------------------------------------------------------#
2+ # Keyboard Visualizer 4.x QMake Project #
3+ # #
4+ # Adam Honse (CalcProgrammer1) 5/15/2020 #
5+ # -----------------------------------------------------------------------#
6+
7+ # -----------------------------------------------------------------------#
8+ # Qt Configuration #
9+ # -----------------------------------------------------------------------#
10+ QT += \
11+ core \
12+ gui \
813
914greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
1015
11- TARGET = KeyboardVisualizer
12- TEMPLATE = app
13-
14- macx: {
15- LIBS += -framework OpenAL
16- }
17-
18- unix :!macx {
19- LIBS += -lopenal
20- }
21-
22- DISTFILES +=
16+ # -----------------------------------------------------------------------#
17+ # Application Configuration #
18+ # -----------------------------------------------------------------------#
19+ TARGET = KeyboardVisualizer
20+ TEMPLATE = app
2321
24- INCLUDEPATH += \
25- OpenRGB/ \
26- OpenRGB/dependencies/libe131/src/ \
27- OpenRGB/net_port/ \
28- OpenRGB/RGBController/ \
29- OpenRGB/qt/ \
22+ # -----------------------------------------------------------------------#
23+ # Keyboard Visualizer #
24+ # -----------------------------------------------------------------------#
25+ HEADERS += \
26+ KeyboardVisualizerCommon/chuck_fft.h \
27+ KeyboardVisualizerCommon/hsv.h \
28+ KeyboardVisualizerCommon/Visualizer.h \
29+ KeyboardVisualizerCommon/VisualizerDefines.h \
30+ KeyboardVisualizerQT/KeyboardVisDlg.h \
3031
3132SOURCES += \
3233 KeyboardVisualizerCommon/hsv.cpp \
@@ -35,38 +36,41 @@ SOURCES += \
3536 KeyboardVisualizerQT/KeyboardVisDlg.cpp \
3637 KeyboardVisualizerQT/main.cpp \
3738
38- # From OpenRGB
39- SOURCES += \
40- OpenRGB/NetworkClient.cpp \
41- OpenRGB/net_port/net_port.cpp \
42- OpenRGB/RGBController/RGBController.cpp \
43- OpenRGB/RGBController/RGBController_Network.cpp \
39+ RESOURCES += \
40+ KeyboardVisualizerQT/resources.qrc
4441
45- HEADERS += \
46- KeyboardVisualizerCommon/chuck_fft.h \
47- KeyboardVisualizerCommon/hsv.h \
48- KeyboardVisualizerCommon/Visualizer.h \
49- KeyboardVisualizerCommon/VisualizerDefines.h \
50- KeyboardVisualizerQT/KeyboardVisDlg.h \
42+ FORMS += \
43+ KeyboardVisualizerQT/keyboardvisualizer.ui
44+
45+ RC_ICONS += \
46+ KeyboardVisualizerQT/KeyboardVisualizer.ico
47+
48+ DISTFILES += \
49+
50+ # -----------------------------------------------------------------------#
51+ # OpenRGB SDK #
52+ # -----------------------------------------------------------------------#
53+ INCLUDEPATH += \
54+ OpenRGB/ \
55+ OpenRGB/net_port/ \
56+ OpenRGB/RGBController/ \
5157
52- # From OpenRGB
53- HEADERS += \
58+ HEADERS += \
5459 OpenRGB/NetworkClient.h \
5560 OpenRGB/NetworkProtocol.h \
5661 OpenRGB/net_port/net_port.h \
5762 OpenRGB/RGBController/RGBController.h \
5863 OpenRGB/RGBController/RGBController_Network.h \
5964
60- RESOURCES += \
61- KeyboardVisualizerQT/resources.qrc
62-
63- FORMS += \
64- KeyboardVisualizerQT/keyboardvisualizer.ui
65-
66- # -----------------------------------------------
67- # Windows specific project configuration
68- # -----------------------------------------------
65+ SOURCES += \
66+ OpenRGB/NetworkClient.cpp \
67+ OpenRGB/net_port/net_port.cpp \
68+ OpenRGB/RGBController/RGBController.cpp \
69+ OpenRGB/RGBController/RGBController_Network.cpp \
6970
71+ # -----------------------------------------------------------------------#
72+ # Windows-specific Configuration #
73+ # -----------------------------------------------------------------------#
7074win32 :contains (QMAKE_TARGET.arch, x86_64 ) {
7175 LIBS += \
7276 -lws2_32 \
@@ -88,3 +92,17 @@ win32:DEFINES += \
8892 _CRT_SECURE_NO_WARNINGS \
8993 _WINSOCK_DEPRECATED_NO_WARNINGS \
9094 WIN32_LEAN_AND_MEAN
95+
96+ # -----------------------------------------------------------------------#
97+ # Linux-specific Configuration #
98+ # -----------------------------------------------------------------------#
99+ unix :!macx {
100+ LIBS += -lopenal
101+ }
102+
103+ # -----------------------------------------------------------------------#
104+ # MacOS-specific Configuration #
105+ # -----------------------------------------------------------------------#
106+ macx: {
107+ LIBS += -framework OpenAL
108+ }
0 commit comments