-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
52 lines (50 loc) · 1.67 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.11.2)
project(server)
include_directories(base)
include_directories(net)
SET(CMAKE_BUILD_TYPE "Debug")
SET(CMAKE_CXX_FLAGS_DEBUG "$ENV{CXXFLAGS} -O0 -Wall -g2 -ggdb -pthread")
SET(CMAKE_CXX_FLAGS_RELEASE "$ENV{CXXFLAGS} -O3 -Wall")
add_executable(httpserver
base/FileUtil.h
base/FileUtil.cpp
base/LogFile.h
base/LogFile.cpp
base/Timestamp.cpp
base/Timestamp.h
base/LogStream.cpp
base/LogStream.h
base/AsyncLogging.h
base/AsyncLogging.cpp
base/Logging.cpp
base/Logging.h
base/Thread.h
base/Thread.cpp
net/Buffer.cpp
net/Buffer.h
net/CallBacks.h
net/Channel.cpp
net/Channel.h
net/Socket.cpp
net/Socket.h
net/Poller.cpp
net/Poller.h
net/EventLoop.cpp
net/EventLoop.h
net/Acceptor.cpp
net/Acceptor.h
net/TcpConnection.cpp
net/TcpConnection.h
net/EventLoopThread.h
net/EventLoopThread.cpp
net/EventLoopThreadPool.h
net/EventLoopThreadPool.cpp
net/TcpServer.cpp
net/TcpServer.h
http/HttpRequest.h
http/HttpResponse.h
http/HttpPraser.h
http/HttpPraser.cpp
http/HttpServer.h
http/HttpServer.cpp
)