mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-23 00:53:02 -05:00
libSceAvPlayer.native/Export.cpp was a byte-identical copy of libSceAvPlayer/Export.cpp. Point add_sce_avplayer_library at the guest directory's Export.cpp, as the Audiodec and Font library functions do, and remove the copy. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017pTZqAyVSZy2FZmaqakPHZ
16 lines
592 B
CMake
16 lines
592 B
CMake
function(add_sce_avplayer_library target)
|
|
set(avPlayerDir ${CMAKE_CURRENT_FUNCTION_LIST_DIR})
|
|
add_library(${target} SHARED EXCLUDE_FROM_ALL
|
|
${avPlayerDir}/Export.cpp
|
|
${avPlayerDir}/src/Player.cpp
|
|
${avPlayerDir}/src/Source.cpp
|
|
)
|
|
target_include_directories(${target} PRIVATE ${LIBS_INCLUDE_DIR})
|
|
target_link_libraries(${target} PRIVATE ffmpeg libc)
|
|
set_target_properties(${target} PROPERTIES
|
|
CXX_VISIBILITY_PRESET hidden
|
|
VISIBILITY_INLINES_HIDDEN ON
|
|
)
|
|
configure_windows_unwind(${target})
|
|
endfunction()
|