|
|
|
|
@ -615,6 +615,14 @@ if (Gettext_FOUND)
|
|
|
|
|
list(APPEND VITA_TRANSLATIONS_LIST "FILE" "${CMAKE_CURRENT_BINARY_DIR}/${lang}.gmo" "${lang}.gmo") |
|
|
|
|
endif() |
|
|
|
|
endforeach(lang) |
|
|
|
|
|
|
|
|
|
if(ANDROID) |
|
|
|
|
add_custom_target(copy_translations ALL |
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy ${devilutionx_TRANSLATIONS} ${DevilutionX_SOURCE_DIR}/android-project/app/src/main/assets |
|
|
|
|
DEPENDS ${devilutionx_TRANSLATIONS}) |
|
|
|
|
|
|
|
|
|
add_dependencies(${BIN_TARGET} copy_translations) |
|
|
|
|
endif() |
|
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
target_include_directories(libdevilutionx PUBLIC |
|
|
|
|
@ -947,7 +955,7 @@ if(NINTENDO_3DS)
|
|
|
|
|
|
|
|
|
|
add_custom_target(romfs_directory |
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E make_directory ${APP_ROMFS}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
add_custom_target(romfs_files |
|
|
|
|
COMMAND ${CMAKE_COMMAND} -E copy ${APP_ROMFS_FILES} ${APP_ROMFS} |
|
|
|
|
DEPENDS romfs_directory) |
|
|
|
|
@ -955,7 +963,7 @@ if(NINTENDO_3DS)
|
|
|
|
|
include(Tools3DS) |
|
|
|
|
add_3dsx_target(${BIN_TARGET}) |
|
|
|
|
add_cia_target(${BIN_TARGET} ${APP_RSF} ${APP_BANNER} ${APP_AUDIO}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
get_filename_component(APP_TARGET_PREFIX ${BIN_TARGET} NAME_WE) |
|
|
|
|
add_dependencies(${APP_TARGET_PREFIX}_3dsx romfs_files) |
|
|
|
|
add_dependencies(${APP_TARGET_PREFIX}_cia romfs_files) |
|
|
|
|
|