-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
57 lines (47 loc) · 1.19 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
53
54
55
56
57
cmake_minimum_required(VERSION 3.16.5)
project(WebServ)
set(CMAKE_CXX_STANDARD 20)
add_executable(WebServ
src/main.cpp
src/bytes/bytes.cpp
src/libft/ft_memset.cpp
src/libft/ft_hton.cpp
src/libft/ft_atoi.cpp
src/libft/ft_localtime.cpp
src/libft/ft_getdate.cpp
src/libft/ft_getline.cpp
src/libft/ft_getfile.cpp
src/libft/ft_itoa.cpp
src/libft/ft_tolower.cpp
src/libft/ft_decode64base.cpp
src/libft/ft_memcopy.cpp
src/libft/ft_strdup.cpp
src/libft/ft_strlen.cpp
src/WebServ/WebServ.cpp
src/WebServ/WebServ_workers.cpp
src/WebServ/WebServ_handlers.cpp
src/WebServ/WebServ_page_generators.cpp
src/VirtualServer/VirtualServer.cpp
src/Location/Location.cpp
src/ParseConfigFile/ParseConfigFile.cpp
src/HttpRequest/HttpRequest.cpp
src/HttpResponse/HttpResponse.cpp
src/HttpObject/HttpObject.cpp
src/Client/Client.cpp
src/ThreadPool/ThreadPool.cpp
src/WebServ/WebServ_cgi.cpp
)
include_directories(
src/includes
src/Location
src/VirtualServer
src/WebServ
src/ParseConfigFile
src/HttpRequest
src/HttpResponse
src/Client
src/ThreadPool
src/bytes
src/HttpObject
)
target_link_libraries(WebServ pthread)