Code tutorial

This commit is contained in:
edgarriba 2014-07-30 12:31:19 +02:00
parent 0ac84755a0
commit 7334e54a63

View File

@ -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} )