File: CMakeLists.txt

package info (click to toggle)
opencv 4.5.1%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 268,248 kB
  • sloc: cpp: 969,170; xml: 682,525; python: 36,732; lisp: 30,170; java: 25,155; ansic: 7,927; javascript: 5,643; objc: 2,041; sh: 935; cs: 601; perl: 494; makefile: 145
file content (28 lines) | stat: -rw-r--r-- 610 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
set(the_description "Tracking API")

set(debug_modules "")
if(DEBUG_opencv_tracking)
  list(APPEND debug_modules opencv_highgui)
endif()

ocv_define_module(tracking
    opencv_imgproc
    opencv_core
    opencv_video
    opencv_plot  # samples only
    ${debug_modules}
    OPTIONAL
      opencv_dnn
      opencv_datasets
      opencv_highgui
    WRAP
      java
      python
      objc
)

ocv_warnings_disable(CMAKE_CXX_FLAGS -Wno-shadow /wd4458)

if(TARGET opencv_test_${name})
  ocv_target_include_directories(opencv_test_${name} "${OpenCV_SOURCE_DIR}/modules")  # use common files from video tests
endif()