32 lines
546 B
CMake
32 lines
546 B
CMake
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
|
|
tcpipHelpers.cpp
|
|
unixUtility.cpp
|
|
)
|
|
|
|
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}
|
|
)
|
|
|