diff options
author | Stefan Zabka <zabkaste@hu-berlin.de> | 2020-06-16 12:50:47 +0200 |
---|---|---|
committer | Stefan Zabka <zabkaste@hu-berlin.de> | 2020-06-16 12:50:47 +0200 |
commit | 65a5ea404fdbd19f3996a11348c2e7e09e8f06a4 (patch) | |
tree | 950032b2e923ee62255d355ad0fe4d7e38f908d8 /04_exercise | |
parent | 329732eef0264d044cc8ce0095e8ec56589dd400 (diff) | |
download | betriebssysteme-65a5ea404fdbd19f3996a11348c2e7e09e8f06a4.tar.gz betriebssysteme-65a5ea404fdbd19f3996a11348c2e7e09e8f06a4.zip |
Added ppmlib to cmake and threapool.h
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. * |