CMake for new Android example
This commit is contained in:
parent
3a922a535c
commit
1046f50acb
@ -7,6 +7,8 @@ add_custom_target(opencv_android_examples)
|
|||||||
add_subdirectory(15-puzzle)
|
add_subdirectory(15-puzzle)
|
||||||
add_subdirectory(face-detection)
|
add_subdirectory(face-detection)
|
||||||
add_subdirectory(image-manipulations)
|
add_subdirectory(image-manipulations)
|
||||||
|
add_subdirectory(color-blob-detection)
|
||||||
|
|
||||||
add_subdirectory(tutorial-0-androidcamera)
|
add_subdirectory(tutorial-0-androidcamera)
|
||||||
add_subdirectory(tutorial-1-addopencv)
|
add_subdirectory(tutorial-1-addopencv)
|
||||||
add_subdirectory(tutorial-2-opencvcamera)
|
add_subdirectory(tutorial-2-opencvcamera)
|
||||||
|
7
samples/android/color-blob-detection/CMakeLists.txt
Normal file
7
samples/android/color-blob-detection/CMakeLists.txt
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
set(sample example-color-blob-detection)
|
||||||
|
|
||||||
|
add_android_project(${sample} "${CMAKE_CURRENT_SOURCE_DIR}" LIBRARY_DEPS ${OpenCV_BINARY_DIR} SDK_TARGET 11 ${ANDROID_SDK_TARGET})
|
||||||
|
if(TARGET ${sample})
|
||||||
|
add_dependencies(opencv_android_examples ${sample})
|
||||||
|
endif()
|
||||||
|
|
@ -1,20 +0,0 @@
|
|||||||
# To enable ProGuard in your project, edit project.properties
|
|
||||||
# to define the proguard.config property as described in that file.
|
|
||||||
#
|
|
||||||
# Add project specific ProGuard rules here.
|
|
||||||
# By default, the flags in this file are appended to flags specified
|
|
||||||
# in ${sdk.dir}/tools/proguard/proguard-android.txt
|
|
||||||
# You can edit the include path and order by changing the ProGuard
|
|
||||||
# include property in project.properties.
|
|
||||||
#
|
|
||||||
# For more details, see
|
|
||||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
|
||||||
|
|
||||||
# Add any project specific keep options here:
|
|
||||||
|
|
||||||
# If your project uses WebView with JS, uncomment the following
|
|
||||||
# and specify the fully qualified class name to the JavaScript interface
|
|
||||||
# class:
|
|
||||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
|
||||||
# public *;
|
|
||||||
#}
|
|
@ -1,15 +0,0 @@
|
|||||||
# This file is automatically generated by Android Tools.
|
|
||||||
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
|
|
||||||
#
|
|
||||||
# This file must be checked in Version Control Systems.
|
|
||||||
#
|
|
||||||
# To customize properties used by the Ant build system edit
|
|
||||||
# "ant.properties", and override values to adapt the script to your
|
|
||||||
# project structure.
|
|
||||||
#
|
|
||||||
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
|
|
||||||
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
|
|
||||||
|
|
||||||
# Project target.
|
|
||||||
target=android-8
|
|
||||||
android.library.reference.1=../../../android/build
|
|
Loading…
Reference in New Issue
Block a user