-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
32 lines (28 loc) · 899 Bytes
/
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.14.5)
project(Raft)
set(CMAKE_CXX_STANDARD 14)
SET(Sources
src/common/Common.cpp
src/json/Json.cpp
src/raft/RaftMessage.cpp
src/raft/RaftMessageImpl.cpp
src/timer/TimeKeeper.cpp
src/timer/TimeKeeperImpl.cpp
src/connect/ConnectionPool.cpp
src/connect/SocketImpl.cpp
src/connect/SocketOps.cpp
src/raft/RaftServerImpl.cpp
src/raft/RaftServer.cpp
src/http/HttpMessageImpl.cpp
src/http/HttpMessage.cpp
src/templateEngine/Loader.cpp
src/templateEngine/TemplateEngine.cpp
src/http/HttpServerImpl.cpp
src/http/HttpServer.cpp
src/app/WebApplication.cpp
src/app/Dashboard.cpp
src/app/AppConfig.cpp
src/Bootstrap.cpp
main.cpp)
set(SRC_LIST ${SEC_LIST} ${Sources})
add_executable(Raft ${SRC_LIST})