diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 3 |
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) |
