-
Notifications
You must be signed in to change notification settings - Fork 2
/
CMakeLists.txt
42 lines (36 loc) · 1.48 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
# minimum version needed for FetchContent and FetchContent_MakeAvailable
cmake_minimum_required(VERSION 3.14)
project(path_finding_visualizer)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -pthread")
include_directories(include)
include_directories(include/States)
include_directories(include/States/Algorithms)
include_directories(include/States/Algorithms/GraphBased)
include_directories(include/States/Algorithms/GraphBased/BFS)
include_directories(include/States/Algorithms/GraphBased/DFS)
include_directories(include/States/Algorithms/GraphBased/DIJKSTRA)
include_directories(include/States/Algorithms/GraphBased/ASTAR)
include_directories(include/States/Algorithms/SamplingBased)
include_directories(include/States/Algorithms/SamplingBased/RRT)
include_directories(include/States/Algorithms/SamplingBased/RRT_STAR)
set(EXECUTABLE_NAME "main")
add_executable(${EXECUTABLE_NAME}
src/main.cpp
src/Game.cpp
src/State.cpp
src/States/Algorithms/GraphBased/GraphBased.cpp
src/States/Algorithms/GraphBased/Node.cpp
src/States/Algorithms/GraphBased/BFS/BFS.cpp
src/States/Algorithms/GraphBased/DFS/DFS.cpp
src/States/Algorithms/GraphBased/DIJKSTRA/DIJKSTRA.cpp
src/States/Algorithms/GraphBased/ASTAR/ASTAR.cpp
src/States/Algorithms/SamplingBased/SamplingBased.cpp
src/States/Algorithms/SamplingBased/RRT/RRT.cpp
src/States/Algorithms/SamplingBased/RRT_STAR/RRT_STAR.cpp
)
target_link_libraries(
${EXECUTABLE_NAME}
PRIVATE
ImGui-SFML::ImGui-SFML
)
add_subdirectory(dependencies)