aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHampus <hampus@hampusmat.com>2021-12-14 00:03:15 +0100
committerHampus <hampus@hampusmat.com>2021-12-14 00:03:15 +0100
commit828c6563124baeff4d80aeefd15b6bbfd7ff86a2 (patch)
tree7f31639810ee2c667f6864a724d76323c75ed933 /src
parent88d8be06f3e5411db6faa59db12210b6079f7d21 (diff)
build: use cmake
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
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")