fsfw-example-hosted/bsp_hosted/fsfwconfig/CMakeLists.txt
Robin Mueller ab047190be
Some checks failed
fsfw/fsfw example hosted/pipeline/head There was a failure building this commit
update and apply afmt
2022-05-20 08:39:16 +02:00

17 lines
682 B
CMake

target_sources(
${TARGET_NAME} PRIVATE ipc/missionMessageTypes.cpp
pollingsequence/pollingSequenceFactory.cpp)
# Add include paths for the executable
target_include_directories(${TARGET_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
# If a special translation file for object IDs exists, compile it.
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/objects/translateObjects.cpp")
target_sources(${TARGET_NAME} PRIVATE objects/translateObjects.cpp)
endif()
# If a special translation file for events exists, compile it.
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/objects/translateObjects.cpp")
target_sources(${TARGET_NAME} PRIVATE events/translateEvents.cpp)
endif()