Add unit testcase for thread-pool.

Extract thread-pool into a separate CMake library.
Extract utils into a separate CMake library.
This commit is contained in:
Bartosz Podrygajlo
2024-06-26 10:17:25 +02:00
parent deacf439a4
commit b1f7cc9025
7 changed files with 151 additions and 140 deletions
+6
View File
@@ -0,0 +1,6 @@
if (ENABLE_TESTS)
add_subdirectory(test)
endif()
add_library(thread-pool thread-pool.c)
target_link_libraries(thread-pool PRIVATE utils)
target_include_directories(thread-pool PUBLIC .)