mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
[Android] Copy over the Dolphin shared library to the Android APK build directory so it doesn't need to be manually copied each time.
This commit is contained in:
@ -172,6 +172,9 @@ if(ANDROID)
|
|||||||
${LIBS}
|
${LIBS}
|
||||||
"-Wl,--no-whole-archive"
|
"-Wl,--no-whole-archive"
|
||||||
)
|
)
|
||||||
|
add_custom_command(TARGET ${DOLPHIN_EXE} POST_BUILD
|
||||||
|
COMMAND cp ARGS ${CMAKE_SOURCE_DIR}/libs/armeabi-v7a/lib${DOLPHIN_EXE}.so ${CMAKE_SOURCE_DIR}/Source/Android/libs/armeabi-v7a
|
||||||
|
)
|
||||||
else()
|
else()
|
||||||
add_executable(${DOLPHIN_EXE} ${SRCS})
|
add_executable(${DOLPHIN_EXE} ${SRCS})
|
||||||
target_link_libraries(${DOLPHIN_EXE} ${LIBS} ${WXLIBS})
|
target_link_libraries(${DOLPHIN_EXE} ${LIBS} ${WXLIBS})
|
||||||
|
Reference in New Issue
Block a user