From 097aa95c1f0cb159e7d9d0a3edf9284c421ee298 Mon Sep 17 00:00:00 2001 From: HampusM Date: Fri, 7 Jan 2022 18:07:35 +0100 Subject: Revert "build: use Makefile instead of Cmake" This reverts commit 813c98b028c9ba484fb5b21a60067ae35cc925ff. --- CMakeLists.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 CMakeLists.txt (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..5847c70 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,13 @@ +cmake_minimum_required(VERSION 3.0.0) + +set(CMAKE_EXPORT_COMPILE_COMMANDS 1) + +set(CMAKE_C_STANDARD 11) + +project(mazerator_project C) + +file(GLOB SOURCES src/*.c) + +add_executable(mazerator ${SOURCES}) + +SET(CMAKE_C_FLAGS ${CMAKE_C_FLAGS} -Wall) -- cgit v1.2.3-18-g5258