From 021afcb8e4aa4fbc7905f527089c415108c86c75 Mon Sep 17 00:00:00 2001 From: Stefan Zabka Date: Thu, 18 Jun 2020 15:04:54 +0200 Subject: Switched to slotmap --- 04_exercise/CMakeLists.txt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to '04_exercise/CMakeLists.txt') diff --git a/04_exercise/CMakeLists.txt b/04_exercise/CMakeLists.txt index c66bf2c..4e89060 100644 --- a/04_exercise/CMakeLists.txt +++ b/04_exercise/CMakeLists.txt @@ -5,7 +5,7 @@ add_executable(quicksort quicksort.c) target_link_libraries(quicksort PRIVATE threadpool) add_library(threadpool threadpool.c) -target_link_libraries(threadpool PRIVATE array Threads::Threads arena_list) +target_link_libraries(threadpool PRIVATE Threads::Threads slotmap) target_link_libraries(threadpool INTERFACE warnings) target_link_libraries(threadpool PUBLIC ppmlib) @@ -27,4 +27,11 @@ target_include_directories(rwlock PUBLIC rwlock) target_link_libraries(rwlock INTERFACE warnings) add_library(ppmlib INTERFACE) -target_include_directories(ppmlib INTERFACE ppmlib) \ No newline at end of file +target_include_directories(ppmlib INTERFACE ppmlib) + +add_library(slotmap slotmap/slotmap.c) +target_include_directories(slotmap PUBLIC slotmap) +target_link_libraries(slotmap INTERFACE warnings) + +add_executable(slotmap_test slotmap/slomap_test.c) +target_link_libraries(slotmap_test PRIVATE slotmap) -- cgit v1.2.3-54-g00ecf