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:
@@ -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 .)
|
||||
Reference in New Issue
Block a user