Extract thread-pool into a separate CMake library. Extract utils into a separate CMake library.
7 lines
188 B
CMake
7 lines
188 B
CMake
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 .)
|