2011-06-30 15:37:56 +02:00
|
|
|
# ----------------------------------------------------------------------------
|
|
|
|
# CMake file for Android samples. See root CMakeLists.txt
|
|
|
|
#
|
|
|
|
# ----------------------------------------------------------------------------
|
2012-03-27 18:05:52 +02:00
|
|
|
add_custom_target(opencv_android_examples)
|
2011-06-30 15:37:56 +02:00
|
|
|
|
2012-03-27 18:05:52 +02:00
|
|
|
add_subdirectory(15-puzzle)
|
|
|
|
add_subdirectory(face-detection)
|
|
|
|
add_subdirectory(image-manipulations)
|
2012-04-30 16:33:52 +02:00
|
|
|
add_subdirectory(color-blob-detection)
|
|
|
|
|
2012-03-27 18:05:52 +02:00
|
|
|
add_subdirectory(tutorial-0-androidcamera)
|
|
|
|
add_subdirectory(tutorial-1-addopencv)
|
|
|
|
add_subdirectory(tutorial-2-opencvcamera)
|
|
|
|
add_subdirectory(tutorial-3-native)
|
|
|
|
add_subdirectory(tutorial-4-mixed)
|
2011-06-30 15:37:56 +02:00
|
|
|
|
2012-03-27 18:05:52 +02:00
|
|
|
#hello-android sample
|
|
|
|
if(HAVE_opencv_highgui)
|
|
|
|
ocv_include_modules_recurse(opencv_highgui opencv_core)
|
|
|
|
add_executable(hello-android hello-android/main.cpp)
|
|
|
|
target_link_libraries(hello-android ${OPENCV_LINKER_LIBS} opencv_highgui opencv_core)
|
2012-02-03 12:26:49 +01:00
|
|
|
set_target_properties(hello-android PROPERTIES OUTPUT_NAME hello-android RUNTIME_OUTPUT_DIRECTORY "${EXECUTABLE_OUTPUT_PATH}")
|
2012-03-27 18:05:52 +02:00
|
|
|
add_dependencies(opencv_android_examples hello-android)
|
2011-06-30 15:37:56 +02:00
|
|
|
endif()
|