mirror of https://github.com/opencv/opencv.git
Open Source Computer Vision Library
https://opencv.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
1.2 KiB
26 lines
1.2 KiB
# ---------------------------------------------------------------------------- |
|
# CMake file for Android samples. See root CMakeLists.txt |
|
# |
|
# ---------------------------------------------------------------------------- |
|
add_custom_target(opencv_android_examples) |
|
|
|
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wmissing-declarations) |
|
|
|
add_subdirectory(15-puzzle) |
|
add_subdirectory(face-detection) |
|
add_subdirectory(image-manipulations) |
|
add_subdirectory(camera-calibration) |
|
add_subdirectory(color-blob-detection) |
|
add_subdirectory(tutorial-1-camerapreview) |
|
add_subdirectory(tutorial-2-mixedprocessing) |
|
add_subdirectory(tutorial-3-cameracontrol) |
|
add_subdirectory(tutorial-4-opencl) |
|
|
|
# hello-android sample |
|
if(HAVE_opencv_highgui) |
|
add_executable(hello-android hello-android/main.cpp) |
|
ocv_target_include_modules_recurse(hello-android opencv_imgcodecs opencv_videoio opencv_highgui opencv_core opencv_imgproc) |
|
ocv_target_link_libraries(hello-android PRIVATE ${OPENCV_LINKER_LIBS} opencv_imgcodecs opencv_videoio opencv_highgui opencv_core opencv_imgproc) |
|
set_target_properties(hello-android PROPERTIES OUTPUT_NAME hello-android RUNTIME_OUTPUT_DIRECTORY "${EXECUTABLE_OUTPUT_PATH}") |
|
add_dependencies(opencv_android_examples hello-android) |
|
endif()
|
|
|