From 10379fdde9fa5e94a955fe35f14e5b35de2a0e5d Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Tue, 11 Feb 2025 06:28:17 +0100 Subject: chore: Makefile --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index c94bd65..ddba94b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,6 @@ cmake_minimum_required(VERSION 3.30.5) project(kagamic VERSION 0.1 LANGUAGES C) +set(CMAKE_C_STANDARD 17) add_executable(main main.c string.h string.c @@ -9,4 +10,4 @@ add_executable(main log.h log.c ) target_link_libraries(main m) -target_compile_options(main PRIVATE -Wall) +target_compile_options(main PRIVATE -Wall -pedantic -Wextra) -- cgit v1.3