-
Notifications
You must be signed in to change notification settings - Fork 0
/
leddy.pro
executable file
·79 lines (72 loc) · 1.94 KB
/
leddy.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
TEMPLATE = app
TARGET = Leddy
DEPENDPATH += .
INCLUDEPATH += .
CONFIG += release
#CONFIG += debug
QT += core network xml
LIBS += -lgif
!isEmpty(WITHSIM) {
DEFINES += WITHSIM
QT += widgets
HEADERS += src/matrixsim.h
SOURCES += src/matrixsim.cpp
message("Matrix LED simulator enabled.")
}
!isEmpty(WITHADA) {
DEFINES += WITHADA
INCLUDEPATH += ./include
LIBS += -L./lib -lrgbmatrix -lpthread -lm -lrt
HEADERS += src/matrixada.h
SOURCES += src/matrixada.cpp
message("Adafruit LED matrix bonnet support enabled.")
}
!isEmpty(WITHUNI) {
DEFINES += WITHUNI
HEADERS += src/matrixuni.h
SOURCES += src/matrixuni.cpp
message("Unicorn and Ubercorn LED matrix support enabled.")
}
QMAKE_CXXFLAGS += -std=c++14
include(./VERSION)
DEFINES+=VERSION=\\\"$$VERSION\\\"
HEADERS += src/leddy.h \
src/settings.h \
src/matrixabstract.h \
src/netcomm.h \
src/loader.h \
src/EasyGifReader.h \
src/commandhandler.h \
src/commandqueue.h \
src/pixelfont.h \
src/scene.h \
src/transition.h \
src/animation.h \
src/timedate.h \
src/weather.h \
src/gameoflife.h \
src/globaldefs.h \
src/rssscroll.h \
src/gallery.h \
src/runcommand.h \
src/scenedesc.h \
src/backgrounds.h
SOURCES += src/main.cpp \
src/leddy.cpp \
src/matrixabstract.cpp \
src/netcomm.cpp \
src/loader.cpp \
src/EasyGifReader.cpp \
src/commandhandler.cpp \
src/commandqueue.cpp \
src/pixelfont.cpp \
src/scene.cpp \
src/transition.cpp \
src/animation.cpp \
src/timedate.cpp \
src/weather.cpp \
src/gameoflife.cpp \
src/rssscroll.cpp \
src/gallery.cpp \
src/runcommand.cpp \
src/backgrounds.cpp