fsfw/osal/host/CMakeLists.txt

24 lines
387 B
CMake
Raw Normal View History

2020-12-07 01:40:10 +01:00
target_sources(${LIB_FSFW_NAME}
PRIVATE
Clock.cpp
FixedTimeslotTask.cpp
MessageQueue.cpp
Mutex.cpp
MutexFactory.cpp
PeriodicTask.cpp
QueueFactory.cpp
QueueMapManager.cpp
SemaphoreFactory.cpp
TaskFactory.cpp
taskHelpers.cpp
2020-12-07 12:17:02 +01:00
)
if(UNIX)
2020-12-28 18:06:00 +01:00
find_package(Threads REQUIRED)
2020-12-07 12:17:02 +01:00
target_link_libraries(${LIB_FSFW_NAME}
PRIVATE
rt
2020-12-28 18:06:00 +01:00
${CMAKE_THREAD_LIBS_INIT}
2020-12-07 12:17:02 +01:00
)
endif()