maze-cpp/demos/CMakeLists.txt
2023-05-03 23:52:33 -04:00

37 lines
1.1 KiB
CMake

add_executable(binary_tree BinaryTree.cpp)
target_link_libraries(binary_tree maze)
add_executable(sidewinder Sidewinder.cpp)
target_link_libraries(sidewinder maze)
add_executable(aldous_broder AldousBroder.cpp)
target_link_libraries(aldous_broder maze)
add_executable(wilsons Wilsons.cpp)
target_link_libraries(wilsons maze)
add_executable(recursive_backtracker RecursiveBacktracker.cpp)
target_link_libraries(recursive_backtracker maze)
add_executable(hunt_and_kill HuntAndKill.cpp)
target_link_libraries(hunt_and_kill maze)
add_executable(dijkstra Dijkstra.cpp)
target_link_libraries(dijkstra maze)
add_executable(longest_path LongestPath.cpp)
target_link_libraries(longest_path maze)
add_executable(colored_maze ColoredMaze.cpp)
target_link_libraries(colored_maze PRIVATE sfml-window sfml-graphics maze)
add_executable(dead_ends DeadEnds.cpp)
target_link_libraries(dead_ends maze)
add_executable(simple_mask SimpleMask.cpp)
target_link_libraries(simple_mask maze)
add_executable(mask_from_file MaskFromFile.cpp)
target_link_libraries(mask_from_file PRIVATE sfml-window sfml-graphics maze)
file(COPY data DESTINATION ${CMAKE_CURRENT_BINARY_DIR})