File tree 3 files changed +30
-4
lines changed
3 files changed +30
-4
lines changed Original file line number Diff line number Diff line change 34
34
[Oo ]ut /
35
35
[Ll ]og /
36
36
[Ll ]ogs /
37
+ Debug.props
38
+ Release.props
37
39
38
40
# Visual Studio 2015/2017 cache/options directory
39
41
.vs /
Original file line number Diff line number Diff line change
1
+ cmake_minimum_required (VERSION 3.16)
2
+ project (CylinderTag VERSION 1.0.0 LANGUAGES CXX)
3
+
4
+ set (CMAKE_CXX_STANDARD 17)
5
+ set (CMAKE_CXX_STANDARD_REQUIRED ON )
6
+ set (CMAKE_CXX_EXTENSIONS OFF )
7
+
8
+ # Find OpenCV
9
+ find_package (OpenCV REQUIRED)
10
+ include_directories (${OpenCV_INCLUDE_DIRS} )
11
+
12
+ # Find Ceres
13
+ find_package (Ceres REQUIRED)
14
+ include_directories (${CERES_INCLUDE_DIRS} )
15
+
16
+ # Add headers directory
17
+ include_directories (${PROJECT_SOURCE_DIR} /header)
18
+
19
+ # Add source files
20
+ add_executable (${PROJECT_NAME}
21
+ main.cpp
22
+ CylinderTag.cpp
23
+ corner_detector.cpp
24
+ pose_estimation.cpp
25
+ )
26
+
27
+ # Link libraries
28
+ target_link_libraries (${PROJECT_NAME} ${OpenCV_LIBS} ${CERES_LIBRARIES} )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments