Spruce it up (#1)
klist / build (push) Successful in 29s

Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
2026-09-19 16:52:06 -04:00
parent c0ec87fd17
commit 2053f2132d
6 changed files with 225 additions and 5 deletions
+13 -1
View File
@@ -1,6 +1,10 @@
cmake_minimum_required(VERSION 4.3.4)
project(klist)
project(klist VERSION 0.0.1 LANGUAGES C)
set(CMAKE_C_STANDARD 11)
set(CMAKE_C_STANDARD_REQUIRED ON)
set(CMAKE_C_EXTENSIONS OFF)
set (INCLUDE
include/klist.h
@@ -14,3 +18,11 @@ set (SOURCES
include_directories(${CMAKE_CURRENT_LIST_DIR}/include/)
add_library(klist STATIC ${SOURCES} ${INCLUDE})
target_compile_options(klist
PRIVATE
-Wall -Wextra -Wpedantic # Added -Wpedantic for stricter checks
)
enable_testing()
add_subdirectory(tests)