aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f74c218..5847c70 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,7 @@
cmake_minimum_required(VERSION 3.0.0)
+set(CMAKE_EXPORT_COMPILE_COMMANDS 1)
+
set(CMAKE_C_STANDARD 11)
project(mazerator_project C)
@@ -8,5 +10,4 @@ file(GLOB SOURCES src/*.c)
add_executable(mazerator ${SOURCES})
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
-
+SET(CMAKE_C_FLAGS ${CMAKE_C_FLAGS} -Wall)