-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCMakeLists.txt
32 lines (28 loc) · 1.3 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
cmake_minimum_required(VERSION 3.25)
project(Swan)
set(CMAKE_CXX_STANDARD 14)
include_directories(.)
add_executable(Swan
main.cpp
Logger/FixedMemBlock.h
Logger/AsyncLog.cpp Logger/AsyncLog.h
Utils/Utils.h
Thread/Thread.cpp Thread/Thread.h
Logger/LogFile.cpp Logger/LogFile.h
Logger/LogStream.cpp Logger/LogStream.h
TaskScheduler/TaskScheduler.cpp TaskScheduler/TaskScheduler.h
TaskScheduler/TimerQueue.cpp TaskScheduler/TimerQueue.h
TaskScheduler/Timer.cpp TaskScheduler/Timer.h
TaskScheduler/CircleBuffer.h
TcpConnection/TcpConnection.cpp TcpConnection/TcpConnection.h
Poller/Poller.cpp Poller/Poller.h
Channel/Channel.cpp Channel/Channel.h
TcpServer/TcpServer.cpp TcpServer/TcpServer.h
Monitor/Monitor.cpp Monitor/Monitor.h
Acceptor/Acceptor.cpp Acceptor/Acceptor.h
TcpConnection/Address.cpp TcpConnection/Address.h
TcpConnection/Request.cpp TcpConnection/Request.h
TcpConnection/Response.cpp TcpConnection/Response.h
Utils/sha1.cpp Utils/sha1.h
Utils/base64.cpp Utils/base64.h MysqlConnectionPool/MysqlConnectionPool.h MysqlConnectionPool/MysqlConnectionPool.cpp Config/Config.cpp Redis/Redis.cpp)
target_link_libraries(Swan pthread mysqlclient hiredis)