-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
45 lines (40 loc) · 1.2 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
cmake_minimum_required(VERSION 3.20)
project(ft_containers)
set(CMAKE_CXX_STANDARD 98)
set(CMAKE_CXX_FLAGS "-Wall -Werror -Wextra -std=c++98")
include_directories(.)
include_directories(./srcs/config)
include_directories(./srcs/logger)
include_directories(./srcs/server)
add_executable(webserv
srcs/config/Config.cpp
srcs/config/IConfig.hpp
srcs/config/Config.hpp
srcs/logger/ILogger.hpp
srcs/logger/Logger.cpp
srcs/logger/Logger.hpp
srcs/logger/Options.cpp
srcs/logger/Options.hpp
srcs/server/IServer.hpp
srcs/server/Options.hpp
srcs/server/Options.cpp
srcs/server/Server.cpp
srcs/server/Server.hpp
srcs/main.cpp
)
add_executable(parser_test
srcs/config/Config.cpp
srcs/config/Config.hpp
srcs/config/IConfig.hpp
srcs/config/tests/parser_test.cpp
srcs/logger/Logger.cpp
srcs/logger/ILogger.hpp
srcs/logger/Logger.hpp
srcs/logger/Options.hpp
srcs/logger/Options.cpp
srcs/server/IServer.hpp
srcs/server/Options.cpp
srcs/server/Options.hpp
srcs/server/Server.cpp
srcs/server/Server.hpp
)