From e31e3caece949c884e5730d6f26b2be0399d3db3 Mon Sep 17 00:00:00 2001 From: Wouter Wijsman Date: Fri, 1 Nov 2024 17:38:48 +0100 Subject: [PATCH] PSP: Fix building examples in parallel --- examples/CMakeLists.txt | 31 +------------------------------ 1 file changed, 1 insertion(+), 30 deletions(-) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 37ab6bfc4..dec58ddbb 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -164,36 +164,7 @@ if(PSP) ICON_PATH NULL BACKGROUND_PATH NULL PREVIEW_PATH NULL - ) - add_custom_command( - TARGET ${APP} POST_BUILD - COMMAND ${CMAKE_COMMAND} -E make_directory - $/sdl-${APP} - ) - add_custom_command( - TARGET ${APP} POST_BUILD - COMMAND ${CMAKE_COMMAND} -E rename - $/EBOOT.PBP - $/sdl-${APP}/EBOOT.PBP - ) - if(BUILD_PRX) - add_custom_command( - TARGET ${APP} POST_BUILD - COMMAND ${CMAKE_COMMAND} -E copy - $/${APP} - $/sdl-${APP}/${APP} - ) - add_custom_command( - TARGET ${APP} POST_BUILD - COMMAND ${CMAKE_COMMAND} -E rename - $/${APP}.prx - $/sdl-${APP}/${APP}.prx - ) - endif() - add_custom_command( - TARGET ${APP} POST_BUILD - COMMAND ${CMAKE_COMMAND} -E remove - $/PARAM.SFO + OUTPUT_DIR $/sdl-${APP} ) endforeach() endif()