fsfw/osal/FreeRTOS/CMakeLists.txt

33 lines
752 B
CMake
Raw Normal View History

2020-12-19 00:21:08 +01:00
target_sources(${LIB_FSFW_NAME}
PRIVATE
Clock.cpp
FixedTimeslotTask.cpp
BinarySemaphore.cpp
BinSemaphUsingTask.cpp
CountingSemaphore.cpp
CountingSemaphUsingTask.cpp
MessageQueue.cpp
Mutex.cpp
MutexFactory.cpp
PeriodicTask.cpp
QueueFactory.cpp
SemaphoreFactory.cpp
TaskFactory.cpp
Timekeeper.cpp
2020-12-19 18:38:02 +01:00
TaskManagement.cpp
2021-05-27 13:12:34 +02:00
QueueMapManager.cpp
2020-12-19 02:29:22 +01:00
)
# FreeRTOS is required to link the FSFW now. It is recommended to compile
# FreeRTOS as a static library and set LIB_OS_NAME to the target name of the
# library.
if(NOT LIB_OS_NAME)
2021-07-12 22:34:59 +02:00
message(STATUS
"LIB_OS_NAME is empty. Make sure to include the FreeRTOS header path properly."
2020-12-19 02:29:22 +01:00
)
2021-07-12 22:34:59 +02:00
else()
target_link_libraries(${LIB_FSFW_NAME} PRIVATE
${LIB_OS_NAME}
)
2020-12-19 02:29:22 +01:00
endif()