2022-08-03 13:15:49 +02:00
|
|
|
target_sources(
|
|
|
|
${FSFW_TEST_TGT} PRIVATE ipc/MissionMessageTypes.cpp
|
|
|
|
pollingsequence/PollingSequenceFactory.cpp)
|
2021-10-07 13:24:46 +02:00
|
|
|
|
|
|
|
# Add include paths for the executable
|
2022-08-03 13:15:49 +02:00
|
|
|
target_include_directories(${FSFW_TEST_TGT} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
|
2021-10-07 13:24:46 +02:00
|
|
|
|
|
|
|
# If a special translation file for object IDs exists, compile it.
|
|
|
|
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/objects/translateObjects.cpp")
|
2022-08-03 13:15:49 +02:00
|
|
|
target_sources(${FSFW_TEST_TGT} PRIVATE objects/translateObjects.cpp)
|
2021-10-07 13:24:46 +02:00
|
|
|
endif()
|
|
|
|
|
|
|
|
# If a special translation file for events exists, compile it.
|
|
|
|
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/objects/translateObjects.cpp")
|
2022-08-03 13:15:49 +02:00
|
|
|
target_sources(${FSFW_TEST_TGT} PRIVATE events/translateEvents.cpp)
|
|
|
|
endif()
|