adding CDT Builder (via ndk-build.cmd) for JNI part

This commit is contained in:
Andrey Pavlenko
2012-07-02 13:15:16 +00:00
parent a1bc11c429
commit e2e6838da3
8 changed files with 456 additions and 6 deletions

View File

@@ -324,7 +324,7 @@ macro(add_android_project target path)
install(FILES "${android_proj_bin_dir}/${f}" DESTINATION "samples/${sample_dir}/${install_subdir}" COMPONENT main)
endforeach()
#jni part + eclipse files
file(GLOB_RECURSE jni_files RELATIVE "${path}" "${path}/jni/*")
file(GLOB_RECURSE jni_files RELATIVE "${path}" "${path}/jni/*" "${path}/.cproject")
ocv_list_filterout(jni_files "\\\\.svn")
foreach(f ${jni_files} ".classpath" ".project" ".settings/org.eclipse.jdt.core.prefs")
get_filename_component(install_subdir "${f}" PATH)