cmake_minimum_required(VERSION 3.5)

project(tutorial-tracking-me)

find_package(VISP REQUIRED visp_core visp_me visp_io visp_gui visp_sensor)

# set the list of source files
set(tutorial_cpp
  tutorial-me-ellipse-tracker.cpp
  tutorial-me-line-tracker.cpp)

foreach(cpp ${tutorial_cpp})
  visp_add_target(${cpp})
  if(COMMAND visp_add_dependency)
    visp_add_dependency(${cpp} "tutorials")
  endif()
endforeach()
