eive-obsw/linux/fsfwconfig/CMakeLists.txt

16 lines
706 B
CMake
Raw Permalink Normal View History

target_sources(${OBSW_NAME} PRIVATE ipc/MissionMessageTypes.cpp)
2020-12-29 01:26:22 +01:00
2022-05-17 13:40:19 +02:00
target_include_directories(${OBSW_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
2020-12-29 01:26:22 +01:00
2021-05-17 19:49:29 +02:00
# If a special translation file for object IDs exists, compile it.
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/objects/translateObjects.cpp")
2022-05-17 13:40:19 +02:00
target_sources(${OBSW_NAME} PRIVATE objects/translateObjects.cpp)
target_sources(${UNITTEST_NAME} PRIVATE objects/translateObjects.cpp)
2021-05-17 19:49:29 +02:00
endif()
2020-12-29 01:26:22 +01:00
2021-05-17 19:49:29 +02:00
# If a special translation file for events exists, compile it.
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/objects/translateObjects.cpp")
2022-05-17 13:40:19 +02:00
target_sources(${OBSW_NAME} PRIVATE events/translateEvents.cpp)
target_sources(${UNITTEST_NAME} PRIVATE events/translateEvents.cpp)
2021-05-17 19:49:29 +02:00
endif()