Skip to content

Commit

Permalink
Create CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
ealekseychik committed Jul 18, 2024
1 parent d68114f commit 6ccf8ff
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 6ccf8ff

Please sign in to comment.