Reworked build scripts for Android Java API, tests and examples
This commit is contained in:
6
samples/android/face-detection/CMakeLists.txt
Normal file
6
samples/android/face-detection/CMakeLists.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
set(sample example-face-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,3 +0,0 @@
|
||||
android.library.reference.1=../../OpenCV-2.3.1
|
||||
# Project target.
|
||||
target=android-8
|
@@ -1,3 +0,0 @@
|
||||
android.library.reference.1=../../../android/build
|
||||
# Project target.
|
||||
target=android-8
|
Reference in New Issue
Block a user