line length (#269)
This commit is contained in:
parent
01317def07
commit
da14d88cd6
1 changed files with 6 additions and 3 deletions
|
@ -26,13 +26,15 @@ macro(rclcpp_register_node_plugins target)
|
||||||
if(NOT TARGET ${target})
|
if(NOT TARGET ${target})
|
||||||
message(
|
message(
|
||||||
FATAL_ERROR
|
FATAL_ERROR
|
||||||
"rclcpp_register_node_plugins() first argument '${target}' is not a target")
|
"rclcpp_register_node_plugins() first argument "
|
||||||
|
"'${target}' is not a target")
|
||||||
endif()
|
endif()
|
||||||
get_target_property(_target_type ${target} TYPE)
|
get_target_property(_target_type ${target} TYPE)
|
||||||
if(NOT _target_type STREQUAL "SHARED_LIBRARY")
|
if(NOT _target_type STREQUAL "SHARED_LIBRARY")
|
||||||
message(
|
message(
|
||||||
FATAL_ERROR
|
FATAL_ERROR
|
||||||
"rclcpp_register_node_plugins() first argument '${target}' is not a shared library target")
|
"rclcpp_register_node_plugins() first argument "
|
||||||
|
"'${target}' is not a shared library target")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(${ARGC} GREATER 0)
|
if(${ARGC} GREATER 0)
|
||||||
|
@ -42,7 +44,8 @@ macro(rclcpp_register_node_plugins target)
|
||||||
if(_arg IN_LIST _unique_names)
|
if(_arg IN_LIST _unique_names)
|
||||||
message(
|
message(
|
||||||
FATAL_ERROR
|
FATAL_ERROR
|
||||||
"rclcpp_register_node_plugins() the plugin names must be unique (multiple '${_arg}')")
|
"rclcpp_register_node_plugins() the plugin names "
|
||||||
|
"must be unique (multiple '${_arg}')")
|
||||||
endif()
|
endif()
|
||||||
list(APPEND _unique_names "${_arg}")
|
list(APPEND _unique_names "${_arg}")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue