V1 Readme + rangement
This commit is contained in:
parent
3300e0efd3
commit
406e6d9b5d
1339 changed files with 248781 additions and 4282 deletions
|
@ -1,52 +0,0 @@
|
|||
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-mbt.cpp
|
||||
tutorial-detection-object-mbt2.cpp
|
||||
tutorial-detection-object-mbt-deprecated.cpp
|
||||
tutorial-detection-object-mbt2-deprecated.cpp
|
||||
)
|
||||
|
||||
list(APPEND tutorial_data "${CMAKE_CURRENT_SOURCE_DIR}/detection-config.xml")
|
||||
list(APPEND tutorial_data "${CMAKE_CURRENT_SOURCE_DIR}/detection-config-SIFT.xml")
|
||||
list(APPEND tutorial_data "${CMAKE_CURRENT_SOURCE_DIR}/teabox.xml")
|
||||
list(APPEND tutorial_data "${CMAKE_CURRENT_SOURCE_DIR}/teabox.cao")
|
||||
list(APPEND tutorial_data "${CMAKE_CURRENT_SOURCE_DIR}/teabox.wrl")
|
||||
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.mpg")
|
||||
|
||||
list(APPEND tutorial_data2 "${CMAKE_CURRENT_SOURCE_DIR}/cube.xml")
|
||||
list(APPEND tutorial_data2 "${CMAKE_CURRENT_SOURCE_DIR}/cube.cao")
|
||||
list(APPEND tutorial_data2 "${CMAKE_CURRENT_SOURCE_DIR}/cube.wrl")
|
||||
list(APPEND tutorial_data2 "${CMAKE_CURRENT_SOURCE_DIR}/cube.init")
|
||||
list(APPEND tutorial_data2 "${CMAKE_CURRENT_SOURCE_DIR}/cube.mpeg")
|
||||
list(APPEND tutorial_data2 "${CMAKE_CURRENT_SOURCE_DIR}/cube0001.png")
|
||||
list(APPEND tutorial_data2 "${CMAKE_CURRENT_SOURCE_DIR}/cube0150.png")
|
||||
list(APPEND tutorial_data2 "${CMAKE_CURRENT_SOURCE_DIR}/cube0200.png")
|
||||
|
||||
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-detection-object-mbt.cpp ${data})
|
||||
endforeach()
|
||||
|
||||
foreach(data2 ${tutorial_data2})
|
||||
visp_copy_data(tutorial-detection-object-mbt2.cpp ${data2})
|
||||
endforeach()
|
Loading…
Add table
Add a link
Reference in a new issue