2020-12-07 12:59:09 +01:00
|
|
|
target_sources(${LIB_FSFW_NAME}
|
|
|
|
PRIVATE
|
|
|
|
Clock.cpp
|
|
|
|
BinarySemaphore.cpp
|
|
|
|
CountingSemaphore.cpp
|
|
|
|
FixedTimeslotTask.cpp
|
|
|
|
InternalErrorCodes.cpp
|
|
|
|
MessageQueue.cpp
|
|
|
|
Mutex.cpp
|
|
|
|
MutexFactory.cpp
|
|
|
|
PeriodicPosixTask.cpp
|
|
|
|
PosixThread.cpp
|
|
|
|
QueueFactory.cpp
|
|
|
|
SemaphoreFactory.cpp
|
|
|
|
TaskFactory.cpp
|
|
|
|
TcUnixUdpPollingTask.cpp
|
|
|
|
TmTcUnixUdpBridge.cpp
|
|
|
|
Timer.cpp
|
|
|
|
)
|
|
|
|
|
2020-12-28 17:48:26 +01:00
|
|
|
find_package(Threads REQUIRED)
|
|
|
|
|
2020-12-25 01:49:44 +01:00
|
|
|
target_link_libraries(${LIB_FSFW_NAME} PRIVATE
|
|
|
|
${CMAKE_THREAD_LIBS_INIT}
|
|
|
|
rt
|
2020-12-07 12:59:09 +01:00
|
|
|
)
|
2020-12-25 01:49:44 +01:00
|
|
|
|
2020-12-28 17:48:26 +01:00
|
|
|
target_link_libraries(${LIB_FSFW_NAME} INTERFACE
|
|
|
|
${CMAKE_THREAD_LIBS_INIT}
|
|
|
|
)
|
|
|
|
|