feat: add basic logging interface
Introduce a lightweight logger interface, allowing clients to register
custom info, warn, and error handlers. Adds initial integration into
transfer_list.h.
Change-Id: Ia2470ce58566385f3c7df068f600d236c09625ca
Signed-off-by: Harrison Mutai <harrison.mutai@arm.com>
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6aa68d9..a1bd03f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -23,13 +23,13 @@
add_library(tl
STATIC
${PROJECT_SOURCE_DIR}/src/generic/transfer_list.c
+ ${PROJECT_SOURCE_DIR}/src/generic/logging.c
)
target_include_directories(tl
PUBLIC
${PROJECT_SOURCE_DIR}/include
)
-
target_link_libraries(tl PUBLIC cxx_compiler_flags)
if(PROJECT_API)