Skip to content

Commit a54c774

Browse files
authored
Add files via upload
1 parent 327897d commit a54c774

File tree

1 file changed

+31
-15
lines changed

1 file changed

+31
-15
lines changed

CMakeLists.txt

Lines changed: 31 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ if (Open3D_FOUND)
7171
endif()
7272
include_directories(
7373
include
74+
${PROJECT_SOURCE_DIR}/include
7475
${PROJECT_SOURCE_DIR}/src
7576
)
7677

@@ -126,38 +127,48 @@ ${PROJECT_SOURCE_DIR}/lib/libfloam.so
126127
${PCL_LIBRARIES}
127128
)
128129

129-
add_executable(kitti_floam src/examples/floam_kitti.cpp)
130-
add_dependencies(kitti_floam floam)
131-
target_link_libraries(kitti_floam
130+
add_executable(floam_run src/examples/floam_kitti.cpp)
131+
add_dependencies(floam_run floam)
132+
target_link_libraries(floam_run
132133
${FLOAM_LIBRARIES}
133134
)
134135

135136

136-
add_executable(kitti_orb src/examples/orb_kitti.cpp)
137-
add_dependencies(kitti_orb ORB_SLAM2)
138-
target_link_libraries(kitti_orb
137+
add_executable(orb_run src/examples/orb_kitti.cpp)
138+
add_dependencies(orb_run ORB_SLAM2)
139+
target_link_libraries(orb_run
139140
${ORB_LIBARIES}
140141
)
141-
target_include_directories(kitti_orb PRIVATE
142+
target_include_directories(orb_run PRIVATE
142143
${ORB_INCLUDE_DIRS}
143144
)
144145

145-
add_executable(kitti_orb_store src/examples/orb_kitti_store.cpp)
146-
add_dependencies(kitti_orb_store ORB_SLAM2)
147-
target_link_libraries(kitti_orb_store
146+
add_executable(orb_store src/examples/orb_kitti_store.cpp)
147+
add_dependencies(orb_store ORB_SLAM2)
148+
target_link_libraries(orb_store
148149
${ORB_LIBARIES}
149150
${PCL_LIBRARIES}
150151
)
151-
target_include_directories(kitti_orb_store PRIVATE
152+
target_include_directories(orb_store PRIVATE
152153
${ORB_INCLUDE_DIRS}
153154
)
154155

155-
add_executable(kitti_orb_restore src/examples/orb_restore.cpp)
156-
add_dependencies(kitti_orb_restore ORB_SLAM2)
157-
target_link_libraries(kitti_orb_restore
156+
add_executable(orb_restore src/examples/orb_restore.cpp)
157+
add_dependencies(orb_restore ORB_SLAM2)
158+
target_link_libraries(orb_restore
158159
${ORB_LIBARIES}
159160
)
160-
target_include_directories(kitti_orb_restore PRIVATE
161+
target_include_directories(orb_restore PRIVATE
162+
${ORB_INCLUDE_DIRS}
163+
)
164+
165+
add_executable(orb_save_map src/examples/orb_save_map.cpp)
166+
add_dependencies(orb_save_map ORB_SLAM2)
167+
target_link_libraries(orb_save_map
168+
${ORB_LIBARIES}
169+
${Open3D_LIBRARIES}
170+
)
171+
target_include_directories(orb_save_map PRIVATE
161172
${ORB_INCLUDE_DIRS}
162173
)
163174
# add_executable(kitti_union src/examples/union_kitti.cpp)
@@ -181,6 +192,11 @@ include
181192
${ORB_INCLUDE_DIRS}
182193
)
183194

195+
add_executable(icp_calib src/examples/icp_calib.cpp)
196+
target_link_libraries(icp_calib
197+
${Open3D_LIBRARIES}
198+
)
199+
184200
add_executable(kitti_he_demo src/examples/he_demo_kitti.cpp)
185201
target_link_libraries(
186202
kitti_he_demo

0 commit comments

Comments
 (0)