fsfw/unittests/testcfg/CMakeLists.txt
Robin Mueller 60ea9a9a7c
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
clean up a few tests
2022-08-03 13:15:49 +02:00

17 lines
693 B
CMake

target_sources(
${FSFW_TEST_TGT} PRIVATE ipc/MissionMessageTypes.cpp
pollingsequence/PollingSequenceFactory.cpp)
# Add include paths for the executable
target_include_directories(${FSFW_TEST_TGT} PRIVATE ${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(${FSFW_TEST_TGT} 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(${FSFW_TEST_TGT} PRIVATE events/translateEvents.cpp)
endif()