-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
52 lines (41 loc) · 1.07 KB
/
CMakeLists.txt
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
CMAKE_MINIMUM_REQUIRED(VERSION 3.25)
SET(CMAKE_CXX_STANDARD 23)
PROJECT(Bragi)
INCLUDE_DIRECTORIES(src)
ADD_EXECUTABLE(Bragi
# A master file
src/master.cpp
# Interfaces for working with different APIs
src/client/deezer_client.cpp
# Slash/mesage commands
src/command/ping.cpp
src/command/join.cpp
src/command/leave.cpp
src/command/play.cpp
src/command/list.cpp
src/command/loop.cpp
src/command/skip.cpp
src/command/next.cpp
src/command/speed.cpp
# Discord audio senders
src/sender/opus_sender.cpp
# Exceptions
src/exception/bragi_exception.cpp
src/exception/json_exception.cpp
# Http clients
src/web/http_client.cpp
src/web/https_client.cpp
# Guild player
src/guild/guild_player.cpp
# Tracks
src/track/track.cpp
src/track/deezer_track.cpp
# Some different utils
src/util/logger.cpp
src/util/path.cpp
src/util/settings.cpp
src/util/color.cpp
src/util/json.cpp
src/util/parser.cpp
)
TARGET_LINK_LIBRARIES(Bragi opus opusenc speexdsp crypto ssl FLAC++ dpp)