ros/ros_comm — pull request #245 by jbohren (2013-06-28 20:06:12+00:00)
Title: CRITICAL BUG: proper escaping for ROS_PACKAGE_NAME definition

Without this, sometimes this ends up as (for a packange named `foo_pkg`):
`-DROS_PACKAGE_NAME="foo_pkg"`

Which breaks everything, since on the command line this needs to be the following so that the quotes end up in the variable:
`-DROS_PACKAGE_NMAE=\"foo_pkg\"`

See this cmake thread here: http://www.cmake.org/pipermail/cmake/2007-June/014611.html

It looks like the [old rosbuild method](http://www.ros.org/wiki/rosbuild#ROS_.23defines) used to use single quotes:
`ROS_PACKAGE_NAME='"foo"'`