fsfw/misc/defaultcfg/fsfwconfig/CMakeLists.txt

24 lines
688 B
CMake
Raw Normal View History

2021-04-22 18:09:23 +02:00
target_include_directories(${TARGET_NAME} PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}
2020-12-07 01:40:10 +01:00
)
2021-04-22 18:09:23 +02:00
target_sources(${TARGET_NAME} PRIVATE
ipc/missionMessageTypes.cpp
pollingsequence/PollingSequenceFactory.cpp
objects/FsfwFactory.cpp
2020-12-07 01:40:10 +01:00
)
2021-04-22 18:09:23 +02:00
# 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
)
2020-12-30 22:56:46 +01:00
endif()
2021-01-01 18:05:02 +01:00
2021-04-22 18:09:23 +02:00
# 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()