cmake_minimum_required(VERSION 3.5)

project(tutorial-gui-pcl-visualizer)

find_package(VISP REQUIRED visp_core visp_gui)

# set the list of source files
set(tutorial_cpp
  tutorial-pcl-viewer.cpp
)

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