Files
@ r26324:5c36d626d46b
Branch filter:
Location: cpp/openttd-patchpack/source/bin/ai/CMakeLists.txt - annotation
r26324:5c36d626d46b
1.4 KiB
text/plain
Update: Translations from eints
english (us): 1 change by 2TallTyler
arabic (egypt): 62 changes by AviationGamerX
turkish: 1 change by ahmetlii
english (us): 1 change by 2TallTyler
arabic (egypt): 62 changes by AviationGamerX
turkish: 1 change by ahmetlii
r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25891:90a4bf886d7d r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b r25109:3ff77dcc2f0b | set(AI_COMPAT_SOURCE_FILES
${CMAKE_CURRENT_SOURCE_DIR}/compat_0.7.nut
${CMAKE_CURRENT_SOURCE_DIR}/compat_1.0.nut
${CMAKE_CURRENT_SOURCE_DIR}/compat_1.1.nut
${CMAKE_CURRENT_SOURCE_DIR}/compat_1.2.nut
${CMAKE_CURRENT_SOURCE_DIR}/compat_1.3.nut
${CMAKE_CURRENT_SOURCE_DIR}/compat_1.4.nut
${CMAKE_CURRENT_SOURCE_DIR}/compat_1.5.nut
${CMAKE_CURRENT_SOURCE_DIR}/compat_1.6.nut
${CMAKE_CURRENT_SOURCE_DIR}/compat_1.7.nut
${CMAKE_CURRENT_SOURCE_DIR}/compat_1.8.nut
${CMAKE_CURRENT_SOURCE_DIR}/compat_1.9.nut
${CMAKE_CURRENT_SOURCE_DIR}/compat_1.10.nut
${CMAKE_CURRENT_SOURCE_DIR}/compat_1.11.nut
${CMAKE_CURRENT_SOURCE_DIR}/compat_12.nut
)
foreach(AI_COMPAT_SOURCE_FILE IN LISTS AI_COMPAT_SOURCE_FILES)
string(REPLACE "${CMAKE_SOURCE_DIR}/bin/" "" AI_COMPAT_SOURCE_FILE_NAME "${AI_COMPAT_SOURCE_FILE}")
string(CONCAT AI_COMPAT_BINARY_FILE "${CMAKE_BINARY_DIR}/" "${AI_COMPAT_SOURCE_FILE_NAME}")
add_custom_command(OUTPUT ${AI_COMPAT_BINARY_FILE}
COMMAND ${CMAKE_COMMAND} -E copy
${AI_COMPAT_SOURCE_FILE}
${AI_COMPAT_BINARY_FILE}
MAIN_DEPENDENCY ${AI_COMPAT_SOURCE_FILE}
COMMENT "Copying ${AI_COMPAT_SOURCE_FILE_NAME}"
)
list(APPEND AI_COMPAT_BINARY_FILES ${AI_COMPAT_BINARY_FILE})
endforeach()
# Create a new target which copies all compat files
add_custom_target(ai_compat_files
DEPENDS ${AI_COMPAT_BINARY_FILES}
)
add_dependencies(openttd
ai_compat_files
)
|