aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2025-02-11 06:28:17 +0100
committerMartin Kagamino Lehoux <martin@lehoux.net>2025-02-11 06:28:17 +0100
commit10379fdde9fa5e94a955fe35f14e5b35de2a0e5d (patch)
treec5d6b408ebef01acf5ee5bedd6ff9e59386d139b /CMakeLists.txt
parentc0ef18f1aad1c5b4d8cb0aa1e0bab8d54d99e7f6 (diff)
chore: Makefile
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
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)