~paparazzi-uav/paparazzi/v5.0-manual

« back to all changes in this revision

Viewing changes to sw/ext/opencv_bebop/opencv/samples/android/CMakeLists.txt

  • Committer: Paparazzi buildbot
  • Date: 2016-05-18 15:00:29 UTC
  • Revision ID: felix.ruess+docbot@gmail.com-20160518150029-e8lgzi5kvb4p7un9
Manual import commit 4b8bbb730080dac23cf816b98908dacfabe2a8ec from v5.0 branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# ----------------------------------------------------------------------------
 
2
#  CMake file for Android samples. See root CMakeLists.txt
 
3
#
 
4
# ----------------------------------------------------------------------------
 
5
add_custom_target(opencv_android_examples)
 
6
 
 
7
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wmissing-declarations)
 
8
 
 
9
add_subdirectory(15-puzzle)
 
10
add_subdirectory(face-detection)
 
11
add_subdirectory(image-manipulations)
 
12
add_subdirectory(camera-calibration)
 
13
add_subdirectory(color-blob-detection)
 
14
add_subdirectory(tutorial-1-camerapreview)
 
15
add_subdirectory(tutorial-2-mixedprocessing)
 
16
add_subdirectory(tutorial-3-cameracontrol)
 
17
add_subdirectory(tutorial-4-opencl)
 
18
 
 
19
# hello-android sample
 
20
if(HAVE_opencv_highgui)
 
21
  add_executable(hello-android hello-android/main.cpp)
 
22
  ocv_target_include_modules_recurse(hello-android opencv_imgcodecs opencv_videoio opencv_highgui opencv_core)
 
23
  ocv_target_link_libraries(hello-android ${OPENCV_LINKER_LIBS} opencv_imgcodecs opencv_videoio opencv_highgui opencv_core)
 
24
  set_target_properties(hello-android PROPERTIES OUTPUT_NAME hello-android RUNTIME_OUTPUT_DIRECTORY "${EXECUTABLE_OUTPUT_PATH}")
 
25
  add_dependencies(opencv_android_examples hello-android)
 
26
endif()