diff options
Diffstat (limited to '04_exercise')
-rw-r--r-- | 04_exercise/CMakeLists.txt | 7 | ||||
-rw-r--r-- | 04_exercise/ppmlib/ppmlib.h (renamed from 04_exercise/ppmlib.h) | 0 | ||||
-rw-r--r-- | 04_exercise/threadpool.h | 1 |
3 files changed, 6 insertions, 2 deletions
diff --git a/04_exercise/CMakeLists.txt b/04_exercise/CMakeLists.txt index 18f3fb7..642da4c 100644 --- a/04_exercise/CMakeLists.txt +++ b/04_exercise/CMakeLists.txt @@ -6,7 +6,7 @@ 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 INTERFACE warnings) +target_link_libraries(threadpool INTERFACE warnings ppmlib) add_executable(fibonacci main.c) @@ -23,4 +23,7 @@ target_link_libraries(arena_test PRIVATE arena_list) add_library(rwlock rwlock/rwlock.c) target_include_directories(rwlock PUBLIC rwlock) -target_link_libraries(rwlock INTERFACE warnings)
\ No newline at end of file +target_link_libraries(rwlock INTERFACE warnings) + +add_library(ppmlib INTERFACE) +target_include_directories(ppmlib INTERFACE ppmlib)
\ No newline at end of file diff --git a/04_exercise/ppmlib.h b/04_exercise/ppmlib/ppmlib.h index 7a7f3db..7a7f3db 100644 --- a/04_exercise/ppmlib.h +++ b/04_exercise/ppmlib/ppmlib.h diff --git a/04_exercise/threadpool.h b/04_exercise/threadpool.h index f73e36c..745c4dd 100644 --- a/04_exercise/threadpool.h +++ b/04_exercise/threadpool.h @@ -3,6 +3,7 @@ #include <stdatomic.h> #include <stddef.h> +#include <ppmlib.h> /**@brief Funktionszeiger auf eine asynchron auszuführende Funktion. * |