Code tutorial

pull/3042/head
edgarriba 11 years ago
parent 0ac84755a0
commit 7334e54a63
  1. 38
      samples/cpp/tutorial_code/calib3d/real_time_pose_estimation/CMakeLists.txt

@ -0,0 +1,38 @@
cmake_minimum_required(VERSION 2.8)
project( PNP_DEMO )
find_package( OpenCV REQUIRED )
include_directories(
$(PNP_DEMO_SOURCE_DIR)/include
${OpenCV_INCLUDE_DIRS}
)
add_executable(
pnp_registration
src/main_registration.cpp
src/CsvReader.cpp
src/CsvWriter.cpp
src/ModelRegistration.cpp
src/Mesh.cpp
src/Model.cpp
src/PnPProblem.cpp
src/Utils.cpp
src/RobustMatcher.cpp
)
add_executable(
pnp_detection
src/main_detection.cpp
src/CsvReader.cpp
src/CsvWriter.cpp
src/ModelRegistration.cpp
src/Mesh.cpp
src/Model.cpp
src/PnPProblem.cpp
src/Utils.cpp
src/RobustMatcher.cpp
)
target_link_libraries( pnp_registration ${OpenCV_LIBS} )
target_link_libraries( pnp_detection ${OpenCV_LIBS} )
Loading…
Cancel
Save