Skip to content
Snippets Groups Projects

Resolve "icp: develop matching tools"

Merged Pep Martí Saumell requested to merge 23-icp-develop-matching-tools into master
3 files
+ 47
9
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 11
9
@@ -2,7 +2,7 @@
@@ -2,7 +2,7 @@
MESSAGE("Starting laser_scan_utils CMakeLists ...")
MESSAGE("Starting laser_scan_utils CMakeLists ...")
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
#find dependencies.
#find dependencies.
FIND_PACKAGE(faramotics QUIET) #faramotics is only required for some tests
FIND_PACKAGE(faramotics QUIET) #faramotics is only required for some tests
IF(faramotics_FOUND)
IF(faramotics_FOUND)
#FIND_PACKAGE(GLUT REQUIRED)
#FIND_PACKAGE(GLUT REQUIRED)
@@ -22,7 +22,7 @@ ENDIF(faramotics_FOUND)
@@ -22,7 +22,7 @@ ENDIF(faramotics_FOUND)
#headers
#headers
SET(HDRS_BASE
SET(HDRS_BASE
laser_scan_utils.h)
laser_scan_utils.h)
SET(HDRS
SET(HDRS
corner_finder.h
corner_finder.h
corner_finder_inscribed_angle.h
corner_finder_inscribed_angle.h
@@ -38,7 +38,8 @@ SET(HDRS
@@ -38,7 +38,8 @@ SET(HDRS
line_segment.h
line_segment.h
point_set.h
point_set.h
polyline.h
polyline.h
scan_segment.h)
scan_segment.h
 
icp.h)
#sources
#sources
SET(SRCS
SET(SRCS
@@ -56,8 +57,9 @@ SET(SRCS
@@ -56,8 +57,9 @@ SET(SRCS
line_segment.cpp
line_segment.cpp
point_set.cpp
point_set.cpp
polyline.cpp
polyline.cpp
scan_segment.cpp)
scan_segment.cpp
icp.cpp)
 
# create the shared library
# create the shared library
ADD_LIBRARY(${PROJECT_NAME} SHARED ${SRCS})
ADD_LIBRARY(${PROJECT_NAME} SHARED ${SRCS})
@@ -66,11 +68,11 @@ INSTALL(TARGETS ${PROJECT_NAME}
@@ -66,11 +68,11 @@ INSTALL(TARGETS ${PROJECT_NAME}
RUNTIME DESTINATION bin
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib/iri-algorithms
LIBRARY DESTINATION lib/iri-algorithms
ARCHIVE DESTINATION lib/iri-algorithms)
ARCHIVE DESTINATION lib/iri-algorithms)
#install headers
#install headers
INSTALL(FILES ${HDRS_BASE}
INSTALL(FILES ${HDRS_BASE}
DESTINATION include/iri-algorithms/laser_scan_utils)
DESTINATION include/iri-algorithms/laser_scan_utils)
INSTALL(FILES ${HDRS}
INSTALL(FILES ${HDRS}
DESTINATION include/iri-algorithms/laser_scan_utils)
DESTINATION include/iri-algorithms/laser_scan_utils)
#install Find*.cmake
#install Find*.cmake
Loading