diff --git a/CMake.txt b/CMake.txt new file mode 100644 index 0000000..f8b0125 --- /dev/null +++ b/CMake.txt @@ -0,0 +1,14 @@ +cmake_minimum_required(VERSION 3.10) + +# Set the project name and version +project(kai VERSION 0.1) + +# Specify the C standard +set(CMAKE_C_STANDARD 17) +set(CMAKE_C_STANDARD_REQUIRED True) + +# Add the executable +add_executable(kai kai.c) + +# Add compiler options +target_compile_options(kai PRIVATE -Wall -Wextra -pedantic)