2020-12-29 01:09:59 +01:00
|
|
|
target_sources(${TARGET_NAME} PRIVATE
|
|
|
|
ipc/MissionMessageTypes.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
target_include_directories(${TARGET_NAME} PUBLIC
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
)
|
|
|
|
|
2021-05-17 19:51:38 +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
|
|
|
|
)
|
|
|
|
endif()
|
2020-12-29 01:09:59 +01:00
|
|
|
|
2021-05-17 19:51:38 +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()
|