REFACTOR: Error handling

This commit is contained in:
2026-10-01 13:06:57 -04:00
parent b218af2952
commit 4bc6efd89e
13 changed files with 1333 additions and 794 deletions
+3 -2
View File
@@ -25,8 +25,9 @@ target_include_directories(libvec
${CMAKE_CURRENT_SOURCE_DIR}/include
)
add_executable(test_runner src/main.c)
add_executable(libvec_bin src/main.c)
set_target_properties(libvec_bin PROPERTIES OUTPUT_NAME "libvec")
# Linking libvec privately gives test_runner access to include/libvec.h,
# but strictly hides src/lib/char/char.h and src/lib/utils/utils.h.
target_link_libraries(test_runner PRIVATE libvec)
target_link_libraries(libvec_bin PRIVATE libvec)