Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1427,15 +1427,22 @@ elseif(PLAYER_CONSOLE_PORT AND NOT PLAYER_TARGET_PLATFORM STREQUAL "libretro")
elseif(PS4)

add_executable(easyrpg-player "src/platform/ps4/main.cpp")
target_link_libraries(easyrpg-player ${PROJECT_NAME} bz2 SceSysmodule ScePigletv2VSH SceUserService SceAudioOut SceSystemService ScePad)

configure_file(${OPENORBIS}/samples/piglet/sce_module/libc.prx ${CMAKE_CURRENT_SOURCE_DIR}/resources/ps4/sce_module/libc.prx COPYONLY)
configure_file(${OPENORBIS}/samples/piglet/sce_module/libSceFios2.prx ${CMAKE_CURRENT_SOURCE_DIR}/resources/ps4/sce_module/libSceFios2.prx COPYONLY)
configure_file(${OPENORBIS}/samples/piglet/sce_sys/about/right.sprx ${CMAKE_CURRENT_SOURCE_DIR}/resources/ps4/sce_sys/about/right.sprx COPYONLY)
target_link_libraries(easyrpg-player ${PROJECT_NAME}
bz2 SceSysmodule ScePigletv2VSH SceUserService SceAudioOut SceSystemService ScePad)

configure_file(${OPENORBIS}/samples/piglet/sce_module/libc.prx
${CMAKE_CURRENT_SOURCE_DIR}/resources/ps4/sce_module/libc.prx COPYONLY)
configure_file(
${OPENORBIS}/samples/piglet/sce_module/libSceFios2.prx
${CMAKE_CURRENT_SOURCE_DIR}/resources/ps4/sce_module/libSceFios2.prx COPYONLY)
configure_file(
${OPENORBIS}/samples/piglet/sce_sys/about/right.sprx
${CMAKE_CURRENT_SOURCE_DIR}/resources/ps4/sce_sys/about/right.sprx COPYONLY)


add_self(easyrpg-player)
add_pkg(easyrpg-player ${CMAKE_SOURCE_DIR}/resources/ps4 "ERPG00001" "easyRPG" "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}")
add_pkg(easyrpg-player ${CMAKE_SOURCE_DIR}/resources/ps4
"ERPG00001" "easyRPG" "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}")
endif()
install(TARGETS easyrpg-player RUNTIME DESTINATION . COMPONENT debug)
# debug information
Expand Down
Loading