-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
48 lines (40 loc) · 1.45 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
cmake_minimum_required(VERSION 3.22.1)
project(mazelib)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g")
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/../target)
option(DISABLE_ASAN "Do not use Address sanitizer" OFF)
if(DISABLE_ASAN)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address")
endif()
include_directories(C:/Users/Pavel/AppData/Local/Msys2/mingw64/include/python3.10)
link_directories(C:/Users/Pavel/AppData/Local/Msys2/mingw64/lib/python3.10)
add_compile_options(
-Wall
-Wextra
-pedantic
-Wno-unused-parameter
-Wno-unused-variable
-Wno-unused-function
-Wno-missing-field-initializers
)
add_executable(mazelib
src/main.cpp
src/example.cpp
src/image/Image.cpp
src/graph/Graph.cpp
src/maze/Maze.cpp
src/interface/Interface.cpp
src/algorithms/Algorithm.cpp
src/algorithms/type/KruskalAlgorithm.cpp
src/algorithms/type/DepthFirstSearchAlgorithm.cpp
src/method/Method.cpp
src/method/type/ImageSavingMethod.cpp
src/method/type/TextFileLoadingMethod.cpp
src/method/type/TextFileSavingMethod.cpp
src/algorithms/type/BreadthFirstSearchAlgorithm.cpp
src/algorithms/type/TremauxsAlgorithm.cpp
src/algorithms/type/WallFollowingAlgorithm.cpp
src/algorithms/type/DijkstraAlgorithm.cpp
src/algorithms/type/LeeAlgorithm.cpp
)