-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
28 lines (26 loc) · 885 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
cmake_minimum_required(VERSION 3.27)
project(rayCastingMaze C)
set(CMAKE_C_STANDARD 11)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
find_package(SDL2 REQUIRED COMPONENTS SDL2)
add_executable(rayCastingMaze
main.c
Map/Map.h
Map/Map.c
Player/Player.h
Player/Player.c
Utils/Vec3/Vec3.h
Utils/Vec3/Vec3.c
Utils/Collision/Collision.h
Utils/Collision/Collision.c
Utils/RayCaster/RayCaster.h
Utils/RayCaster/RayCaster.c
Utils/Stack/Stack.h
Utils/Stack/Stack.c
Utils/MazeGenerator/MazeGenerator.h
Utils/MazeGenerator/MazeGenerator.c
Utils/ErrorHandler/ErrorHandler.c
Utils/ErrorHandler/ErrorHandler.h
Utils/Comparator/Comparator.c
Utils/Comparator/Comparator.h)
target_link_libraries(rayCastingMaze PRIVATE SDL2::SDL2)