mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-23 17:13:13 -05:00
Titles that link the native module (The Smurfs Dreams imports sceAudiodecClearContext and the other decoder exports from libSceAudiodec.native) found only the dummy export there. Both modules are now built from the same sources, as libSceFont and libSceAvPlayer already do for their native modules. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
15 lines
573 B
CMake
15 lines
573 B
CMake
function(add_sce_audiodec_library target)
|
|
set(audiodecDir ${CMAKE_CURRENT_FUNCTION_LIST_DIR})
|
|
add_library(${target} SHARED EXCLUDE_FROM_ALL
|
|
${audiodecDir}/Export.cpp
|
|
${audiodecDir}/src/Codecs.cpp
|
|
)
|
|
target_include_directories(${target} PRIVATE
|
|
${LIBS_INCLUDE_DIR}
|
|
${CMAKE_SOURCE_DIR}/3rdparty/LibAtrac9/C/src
|
|
)
|
|
target_link_libraries(${target} PRIVATE atrac9 ffmpeg libc libkernel)
|
|
set_target_properties(${target} PROPERTIES CXX_EXTENSIONS OFF)
|
|
configure_windows_unwind(${target})
|
|
endfunction()
|