2016-01-06 14:35:15 -07:00
|
|
|
list(APPEND LIBS core uicommon)
|
|
|
|
|
|
|
|
set(SRCS ButtonManager.cpp
|
|
|
|
MainAndroid.cpp)
|
|
|
|
|
2016-01-20 09:32:53 -07:00
|
|
|
set(SHARED_LIB main)
|
|
|
|
add_library(${SHARED_LIB} SHARED ${SRCS})
|
|
|
|
target_link_libraries(${SHARED_LIB}
|
|
|
|
log
|
|
|
|
android
|
|
|
|
"-Wl,--no-warn-mismatch"
|
|
|
|
"-Wl,--whole-archive"
|
|
|
|
${LIBS}
|
|
|
|
"-Wl,--no-whole-archive"
|
|
|
|
)
|
2016-06-08 11:49:46 -06:00
|
|
|
|
|
|
|
file(MAKE_DIRECTORY ${CMAKE_SOURCE_DIR}/Source/Android/app/src/main/assets/)
|
|
|
|
file(COPY ${CMAKE_SOURCE_DIR}/Data/Sys/GameSettings ${CMAKE_SOURCE_DIR}/Data/Sys/GC ${CMAKE_SOURCE_DIR}/Data/Sys/Wii ${CMAKE_SOURCE_DIR}/Data/Sys/Shaders DESTINATION ${CMAKE_SOURCE_DIR}/Source/Android/app/src/main/assets/)
|
2016-01-06 14:35:15 -07:00
|
|
|
|
2016-01-20 09:32:53 -07:00
|
|
|
set(CPACK_PACKAGE_EXECUTABLES ${CPACK_PACKAGE_EXECUTABLES} ${SHARED_LIB})
|