26 lines
610 B
CMake
26 lines
610 B
CMake
project(tutorial-detection-object)
|
|
|
|
cmake_minimum_required(VERSION 2.6)
|
|
|
|
find_package(VISP REQUIRED visp_core visp_vision visp_mbt visp_io visp_gui)
|
|
|
|
# set the list of source files
|
|
set(tutorial_cpp
|
|
tutorial-detection-object-mbt2.cpp
|
|
#detection_multi_tracker.cpp
|
|
detection_limited_info.cpp
|
|
)
|
|
|
|
|
|
foreach(cpp ${tutorial_cpp})
|
|
visp_add_target(${cpp})
|
|
|
|
if(VISP_HAVE_OGRE)
|
|
visp_set_source_file_compile_flag(${cpp} -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-overloaded-virtual)
|
|
endif()
|
|
|
|
if(COMMAND visp_add_dependency)
|
|
visp_add_dependency(${cpp} "tutorials")
|
|
endif()
|
|
endforeach()
|
|
|