[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:
Ryan Houdek 2013-05-18 03:56:45 -05:00
parent 39c9516197
commit 2c7f9b1b78
1 changed files with 3 additions and 0 deletions

View File

@ -172,6 +172,9 @@ if(ANDROID)
${LIBS}
"-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()
add_executable(${DOLPHIN_EXE} ${SRCS})
target_link_libraries(${DOLPHIN_EXE} ${LIBS} ${WXLIBS})