mirror of https://github.com/opencv/opencv.git
parent
0ac84755a0
commit
7334e54a63
1 changed files with 38 additions and 0 deletions
@ -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…
Reference in new issue