12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- cmake_minimum_required(VERSION 2.8.3)
- project(map_tools)
- find_package(autoware_build_flags REQUIRED)
- find_package(catkin REQUIRED COMPONENTS
- pcl_conversions
- pcl_ros
- roscpp
- sensor_msgs
- tf
- )
- catkin_package(
- CATKIN_DEPENDS
- pcl_conversions
- pcl_ros
- roscpp
- sensor_msgs
- tf
- )
- SET(CMAKE_CXX_FLAGS "-O2 -g -Wall ${CMAKE_CXX_FLAGS}")
- include_directories(include ${catkin_INCLUDE_DIRS})
- add_executable(pcd_filter nodes/pcd_filter/pcd_filter.cpp)
- add_executable(pcd_binarizer nodes/pcd_binarizer/pcd_binarizer.cpp)
- add_executable(pcd_arealist nodes/pcd_arealist/pcd_arealist.cpp)
- add_executable(csv2pcd nodes/pcd_converter/csv2pcd.cpp)
- add_executable(pcd2csv nodes/pcd_converter/pcd2csv.cpp)
- add_executable(map_extender nodes/map_extender/map_extender.cpp)
- add_executable(pcd_grid_divider nodes/pcd_grid_divider/pcd_grid_divider.cpp)
- target_link_libraries(pcd_filter ${catkin_LIBRARIES})
- target_link_libraries(pcd_binarizer ${catkin_LIBRARIES})
- target_link_libraries(pcd_arealist ${catkin_LIBRARIES})
- target_link_libraries(csv2pcd ${catkin_LIBRARIES})
- target_link_libraries(pcd2csv ${catkin_LIBRARIES})
- target_link_libraries(map_extender ${catkin_LIBRARIES})
- target_link_libraries(pcd_grid_divider ${catkin_LIBRARIES})
- install(
- TARGETS
- csv2pcd
- map_extender
- pcd2csv
- pcd_arealist
- pcd_binarizer
- pcd_filter
- pcd_grid_divider
- ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
- LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
- RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
- )
|