forked from esterTion/BiliLocal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBiliLocal.pro
112 lines (93 loc) · 1.52 KB
/
BiliLocal.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
QT += \
core \
gui \
network \
widgets
TARGET = BiliLocal
TEMPLATE = app
CONFIG += c++11
INCLUDEPATH += \
C:/msys64/usr/local/include
LIBS += \
-LC:/msys64/usr/local/lib
SOURCES += \
src/APlayer.cpp \
src/Config.cpp \
src/Danmaku.cpp \
src/Graphic.cpp \
src/List.cpp \
src/Load.cpp \
src/Local.cpp \
src/Render.cpp \
src/Shield.cpp \
src/Utils.cpp \
src/Interface.cpp \
src/Menu.cpp \
src/Info.cpp \
src/Editor.cpp \
src/Post.cpp \
src/Jump.cpp \
src/Search.cpp \
src/Plugin.cpp
HEADERS += \
src/APlayer.h \
src/Config.h \
src/Danmaku.h \
src/Graphic.h \
src/List.h \
src/Load.h \
src/Local.h \
src/Render.h \
src/Shield.h \
src/Utils.h \
src/Interface.h \
src/Menu.h \
src/Info.h \
src/Editor.h \
src/Post.h \
src/Jump.h \
src/Search.h \
src/Plugin.h
RESOURCES += \
res/Res.qrc
TRANSLATIONS += \
res/zh_CN.ts \
res/zh_TW.ts
linux{
DEFINES += \
BACKEND_VLC
DEFINES += \
RENDER_RASTER \
RENDER_OPENGL
}
win32{
RC_ICONS = BiliLocal.ico
DEFINES += \
BACKEND_VLC \
BACKEND_QMM \
BACKEND_NIL
DEFINES += \
RENDER_RASTER \
RENDER_OPENGL \
RENDER_DETACH
}
macx{
DEFINES += \
BACKEND_VLC
DEFINES += \
RENDER_OPENGL
}
contains(DEFINES, BACKEND_QMM){
QT += \
multimedia
}
contains(DEFINES, BACKEND_VLC){
LIBS += \
-lvlc \
-lvlccore
}
contains(DEFINES, RENDER_RASTER){
LIBS += \
-lswscale \
-lavutil
}