android: allow to build & run examples without Android OpenCV Manager

This commit is contained in:
Alexander Alekhin
2014-06-05 12:29:36 +04:00
parent 3f485d58bb
commit 15b6fd2ec4
12 changed files with 82 additions and 9 deletions

View File

@@ -0,0 +1,8 @@
# helper file for Android samples build
file(GLOB_RECURSE LIBS RELATIVE ${SRC_DIR} "*.so")
foreach(l ${LIBS})
message(STATUS " Copying: ${l} ...")
execute_process(COMMAND ${CMAKE_COMMAND} -E copy_if_different ${SRC_DIR}/${l} ${DST_DIR}/${l})
endforeach()