Reworked build scripts for Android Java API, tests and examples
This commit is contained in:
6
samples/android/tutorial-3-native/CMakeLists.txt
Normal file
6
samples/android/tutorial-3-native/CMakeLists.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
set(sample example-tutorial-3-native)
|
||||
|
||||
add_android_project(${sample} "${CMAKE_CURRENT_SOURCE_DIR}" SDK_TARGET 11 ${ANDROID_SDK_TARGET} NATIVE_DEPS opencv_features2d)
|
||||
if(TARGET ${sample})
|
||||
add_dependencies(opencv_android_examples ${sample})
|
||||
endif()
|
@@ -1,2 +0,0 @@
|
||||
# Project target.
|
||||
target=android-8
|
@@ -1,2 +0,0 @@
|
||||
# Project target.
|
||||
target=android-11
|
Reference in New Issue
Block a user