fsfw-example-hosted/bsp_hosted/fsfwconfig/CMakeLists.txt

17 lines
682 B
CMake
Raw Normal View History

2022-05-20 08:39:16 +02:00
target_sources(
${TARGET_NAME} PRIVATE ipc/missionMessageTypes.cpp
pollingsequence/pollingSequenceFactory.cpp)
2021-06-08 13:36:08 +02:00
# Add include paths for the executable
2022-05-20 08:39:16 +02:00
target_include_directories(${TARGET_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
2021-06-08 13:36:08 +02:00
# If a special translation file for object IDs exists, compile it.
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/objects/translateObjects.cpp")
2022-05-20 08:39:16 +02:00
target_sources(${TARGET_NAME} PRIVATE objects/translateObjects.cpp)
2021-06-08 13:36:08 +02:00
endif()
# If a special translation file for events exists, compile it.
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/objects/translateObjects.cpp")
2022-05-20 08:39:16 +02:00
target_sources(${TARGET_NAME} PRIVATE events/translateEvents.cpp)
2021-06-08 13:36:08 +02:00
endif()