From 828c6563124baeff4d80aeefd15b6bbfd7ff86a2 Mon Sep 17 00:00:00 2001 From: Hampus Date: Tue, 14 Dec 2021 00:03:15 +0100 Subject: build: use cmake --- src/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/CMakeLists.txt (limited to 'src') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..090164c --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,7 @@ +project(mazerator C) + +set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ../bin) + +add_executable(mazerator mazerator.c maze.c utils.c position_stack.c) + +SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall") -- cgit v1.2.3-18-g5258