Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (27 sloc) 1.269 kb
cmake_minimum_required(VERSION 2.8)
project(ecto_corrector)
message(STATUS "~~ ${PROJECT_NAME}")
find_package(ecto REQUIRED) #brings in rosbuild_lite
#find_package(Boost COMPONENTS signals thread REQUIRED)
#include(rosbuild_lite.cmake)
rosbuild_lite_init() # found in rosbuild_lite
find_ros_package(pose_corrector)
if(NOT pose_corrector_FOUND)
message("**\n** Disabling build of ${PROJECT_NAME} due to missing dependency pose_corrector\n**")
return()
endif()
find_ros_package(sensor_msgs REQUIRED)
find_ros_package(geometry_msgs REQUIRED)
find_ros_package(tabletop_object_detector REQUIRED) #for TODServiceCaller. can be removed once there's an ecto_tod
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
ecto_python_env_gen(${CMAKE_BINARY_DIR}/lib)
include_directories(${sensor_msgs_INCLUDES})
include_directories(${geometry_msgs_INCLUDES})
include_directories(${pose_corrector_INCLUDES})
include_directories(${tabletop_object_detector_INCLUDES})
#TODO: some way to detect this automatically rather than requiring it as an argument?
if(NOT ecto_pcl_INCLUDES)
message("**\n\n** Need to know where ecto_pcl includes are. Use option -Decto_pcl_INCLUDES=<directory>\n\n**")
endif()
include_directories(${ecto_pcl_INCLUDES})
add_subdirectory(src)
Jump to Line
Something went wrong with that request. Please try again.