forked from jacobschloss/freertos_cpp_util
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
60 lines (44 loc) · 1.04 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
add_library(freertos_cpp_util
src/Byte_stream.cpp
src/FreeRTOS_allocator.cpp
src/Call_once.cpp
src/Condition_variable.cpp
src/Queue_base.cpp
src/Queue_static.cpp
src/Queue_static_pod.cpp
src/Semaphore_base.cpp
src/BSema_static.cpp
src/CSema_static.cpp
src/Critical_section_isr.cpp
src/Critical_section.cpp
src/Suspend_task_scheduler.cpp
src/util/Alloc_inplace.cpp
src/Task_base.cpp
src/Task_heap.cpp
src/Task_static.cpp
src/Mutex_base.cpp
src/Mutex_heap.cpp
src/Mutex_static.cpp
src/Mutex_static_recursive.cpp
src/object_pool/Object_pool.cpp
src/object_pool/Object_pool_base.cpp
src/object_pool/Object_pool_node.cpp
src/logging/Global_logger.cpp
src/logging/Log_sink_base.cpp
src/logging/Log_sink_console.cpp
src/logging/Logger.cpp
src/logging/Logger_types.cpp
)
target_include_directories(freertos_cpp_util PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/include
)
target_link_libraries(freertos_cpp_util
common_util
freertos_v10
)
if(DEFINED Doxygen::doxygen)
doxygen_add_docs(freertos_cpp_util_docs
include/
src/
)
endif()