-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
executable file
·47 lines (41 loc) · 1.31 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
cmake_minimum_required(VERSION 3.23)
project(webserv)
set(CMAKE_CXX_STANDARD 98)
set(CMAKE_CXX_STANDARD_REQUIRED (true))
set(INC_HEADERS ./inc)
include_directories(${INC_HEADERS})
include_directories(${EXCHANGE_HEADERS})
add_subdirectory(tester)
set(SOURCES
${INC_HEADERS}/Constants.hpp
${INC_HEADERS}/Location.hpp
${INC_HEADERS}/Network.hpp
${INC_HEADERS}/Parse.hpp
${INC_HEADERS}/Server.hpp
${INC_HEADERS}/Utilities.hpp
${INC_HEADERS}/Generator.hpp
${INC_HEADERS}/Cgi.hpp
${INC_HEADERS}/Client.hpp
${INC_HEADERS}/Exchange.hpp
${INC_HEADERS}/Respond.hpp
${INC_HEADERS}/Request.hpp
src/Location.cpp
src/main.cpp
src/Network.cpp
src/Parse.cpp
src/Server.cpp
src/Generator.cpp
src/Exchange/Exchange.cpp
src/Exchange/Request.cpp
src/Exchange/Respond.cpp
src/Exchange/Methods/ResponsePost.cpp
src/Exchange/Methods/ResponseGet.cpp
src/Exchange/Methods/ResponseDelete.cpp
src/Cgi.cpp
src/Client.cpp
src/Utilities/deleteFile.cpp
src/Utilities/readFile.cpp
src/Utilities/isDirectory.cpp
src/Utilities/ft_stoi.cpp
src/Utilities/splitLineWithStrtok.cpp)
add_executable(${PROJECT_NAME} ${SOURCES})