2022-05-16 14:55:15 +02: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
|
|
|
|
tcpipHelpers.cpp
|
|
|
|
unixUtility.cpp)
|
2020-12-07 12:59:09 +01:00
|
|
|
|
2020-12-28 18:06:00 +01:00
|
|
|
find_package(Threads REQUIRED)
|
|
|
|
|
2022-05-16 14:55:15 +02:00
|
|
|
target_link_libraries(${LIB_FSFW_NAME} PUBLIC ${CMAKE_THREAD_LIBS_INIT})
|
2020-12-28 18:06:00 +01:00
|
|
|
|
2022-05-01 17:48:49 +02:00
|
|
|
if(NOT APPLE)
|
2022-05-16 14:55:15 +02:00
|
|
|
target_link_libraries(${LIB_FSFW_NAME} PUBLIC rt)
|
2022-05-01 17:48:49 +02:00
|
|
|
endif()
|