diff options
author | HampusM <hampus@hampusmat.com> | 2022-01-07 18:07:35 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-01-07 18:07:35 +0100 |
commit | 097aa95c1f0cb159e7d9d0a3edf9284c421ee298 (patch) | |
tree | 417d423ef1420634612f1db9f6f97d812f56ec01 /CMakeLists.txt | |
parent | 02dee3370f1420b208c546194ac67322fe563a24 (diff) |
Revert "build: use Makefile instead of Cmake"
This reverts commit 813c98b028c9ba484fb5b21a60067ae35cc925ff.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 13 |
1 files changed, 13 insertions, 0 deletions
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) |