V1 Readme + rangement
This commit is contained in:
parent
3300e0efd3
commit
406e6d9b5d
1339 changed files with 248781 additions and 4282 deletions
35
ongoing/Visp_tests/manual_tests/CMakeLists.txt
Normal file
35
ongoing/Visp_tests/manual_tests/CMakeLists.txt
Normal file
|
@ -0,0 +1,35 @@
|
|||
project(tutorial-tracking-mb)
|
||||
|
||||
cmake_minimum_required(VERSION 2.6)
|
||||
|
||||
find_package(VISP REQUIRED visp_core visp_mbt visp_io visp_gui)
|
||||
|
||||
# set the list of source files
|
||||
set(tutorial_cpp
|
||||
tutorial-mb-generic-tracker.cpp
|
||||
tutorial-mb-generic-tracker-full.cpp
|
||||
)
|
||||
|
||||
list(APPEND tutorial_data "${CMAKE_CURRENT_SOURCE_DIR}/teabox.mpg" )
|
||||
list(APPEND tutorial_data "${CMAKE_CURRENT_SOURCE_DIR}/teabox.cao" )
|
||||
list(APPEND tutorial_data "${CMAKE_CURRENT_SOURCE_DIR}/teabox.init" )
|
||||
list(APPEND tutorial_data "${CMAKE_CURRENT_SOURCE_DIR}/teabox.ppm" )
|
||||
list(APPEND tutorial_data "${CMAKE_CURRENT_SOURCE_DIR}/teabox.wrl" )
|
||||
list(APPEND tutorial_data "${CMAKE_CURRENT_SOURCE_DIR}/teabox.xml" )
|
||||
|
||||
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()
|
||||
|
||||
# Copy the data files to the same location than the target
|
||||
foreach(data ${tutorial_data})
|
||||
visp_copy_data(tutorial-mb-generic-tracker.cpp ${data})
|
||||
endforeach()
|
Loading…
Add table
Add a link
Reference in a new issue