At creating a ROS package by hand
In tutorials, creating a ROS package by hand
To see one example of why specifying these dependencies is useful, try executing the following commands rospack commands:
rospack export --lang=cpp --attrib=cflags foobar rospack export --lang=cpp --attrib=lflags foobar
what is the "--attrib" , "cflags" and "lflags"?