mirror of
https://github.com/modelec/detection_pot.git
synced 2026-01-18 16:47:33 +01:00
cpp branch
This commit is contained in:
30
CMakeLists.txt
Normal file
30
CMakeLists.txt
Normal file
@@ -0,0 +1,30 @@
|
||||
cmake_minimum_required(VERSION 3.27)
|
||||
project(detection_pot)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
find_package( OpenCV REQUIRED )
|
||||
include_directories( ${OpenCV_INCLUDE_DIRS} )
|
||||
|
||||
|
||||
set(COMMON_SOURCES
|
||||
)
|
||||
|
||||
set(calibrationSources
|
||||
${COMMON_SOURCES}
|
||||
calibration.cpp
|
||||
)
|
||||
|
||||
add_executable(calibration ${calibrationSources})
|
||||
|
||||
target_link_libraries( calibration ${OpenCV_LIBS} )
|
||||
|
||||
# Project 2 sources and executable
|
||||
set(arucoDetectionSources
|
||||
${COMMON_SOURCES}
|
||||
arucoDetector.cpp
|
||||
)
|
||||
|
||||
add_executable(arucoDetector ${arucoDetectionSources})
|
||||
|
||||
target_link_libraries( arucoDetector ${OpenCV_LIBS} )
|
||||
Reference in New Issue
Block a user