1
0
forked from fsfw/fsfw

correct interface and private includes

This commit is contained in:
2020-12-19 02:29:22 +01:00
parent c0099481a1
commit e030d7ed97
2 changed files with 34 additions and 5 deletions

View File

@ -11,8 +11,19 @@ target_sources(${LIB_FSFW_NAME}
MutexFactory.cpp
PeriodicTask.cpp
QueueFactory.cpp
QueueMapManager.cpp
SemaphoreFactory.cpp
TaskFactory.cpp
Timekeeper.cpp
)
)
# 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)
message(FATAL_ERROR
"FreeRTOS needs to be linked as a target and "
"LIB_OS_NAME needs to be set to the target"
)
endif()
target_link_libraries(${LIB_FSWFW_NAME} ${LIB_OS_NAME})