From 08ec3a7a1fdb16cbb52b05f934bd001ca38bd991 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sat, 17 Jun 2023 20:21:58 -0700 Subject: Add error library. --- error/CMakeLists.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 error/CMakeLists.txt (limited to 'error/CMakeLists.txt') diff --git a/error/CMakeLists.txt b/error/CMakeLists.txt new file mode 100644 index 0000000..e47a1f9 --- /dev/null +++ b/error/CMakeLists.txt @@ -0,0 +1,14 @@ +cmake_minimum_required(VERSION 3.0) + +project(error) + +add_library(error + src/error.c) + +target_include_directories(error PUBLIC + include) + +target_link_libraries(error + cstring) + +target_compile_options(error PRIVATE -Wall -Wextra) -- cgit v1.2.3