fsfw/osal/linux/CMakeLists.txt

31 lines
528 B
CMake
Raw Normal View History

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
Timer.cpp
2021-03-12 16:47:55 +01:00
tcpipHelpers.cpp
2020-12-07 12:59:09 +01:00
)
2020-12-28 18:06:00 +01:00
find_package(Threads REQUIRED)
target_link_libraries(${LIB_FSFW_NAME} PRIVATE
${CMAKE_THREAD_LIBS_INIT}
rt
)
target_link_libraries(${LIB_FSFW_NAME} INTERFACE
${CMAKE_THREAD_LIBS_INIT}
2020-12-07 12:59:09 +01:00
)
2020-12-28 18:06:00 +01:00