replacing ros_middleware with rmw

This commit is contained in:
William Woodall 2015-03-04 16:31:22 -08:00
parent 35cf3952e3
commit 209a31c815
12 changed files with 117 additions and 100 deletions

View file

@ -0,0 +1,12 @@
# copied from rmw_implementation/rmw_implementation-extras.cmake
include("${rmw_implementation_DIR}/get_available_rmw_implementations.cmake")
include("${rmw_implementation_DIR}/get_default_rmw_implementation.cmake")
get_default_rmw_implementation(_middleware_implementation)
find_package("${_middleware_implementation}" REQUIRED)
# TODO should never need definitions and include dirs?
list(APPEND rmw_implementation_DEFINITIONS ${${_middleware_implementation}_DEFINITIONS})
list(APPEND rmw_implementation_INCLUDE_DIRS ${${_middleware_implementation}_INCLUDE_DIRS})
list(APPEND rmw_implementation_LIBRARIES ${${_middleware_implementation}_LIBRARIES})