diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-02-14 19:01:21 +0100 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2025-02-14 19:01:21 +0100 |
| commit | 54db532879ed3f6d76463a3ab3f3895bd41c861c (patch) | |
| tree | 0b9f52e01f612d0ac26003df96094dac2287bf5f /CMakeLists.txt | |
| parent | 03632f51152e5e3b6bb74c29987709fbe97a9a69 (diff) | |
feat(test): Add test runner (debug is ok, 2 failures in release)
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ddba94b..c022fc3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,7 @@ 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 @@ -11,3 +12,16 @@ add_executable(main ) target_link_libraries(main m) target_compile_options(main PRIVATE -Wall -pedantic -Wextra) + + +add_executable(test + test.c + testing.h + string.h string.c + memory.h memory.c + vec.h vec.c + json.h json.c + log.h log.c +) +target_link_libraries(test m) +target_compile_options(test PRIVATE -Wall -pedantic -Wextra) |
