rosbuild_add_executable. Where does it save this?
Hi everyone,
I used the command
rosbuild_add_executable(main_ParseStringCommand ${GUIA_SOURCE_FILES} ${GUIA_HEADER_FILES})
to my CMakeLists.txt.
I performed the:
$rosmake package_name
and ran the node by:
$rosrun package_name main_ParseStringCommand
I then changed the rosbuild_add_executable in my CMakeLists.txt to:
rosbuild_add_executable(main_ParseString ${GUIA_SOURCE_FILES} ${GUIA_HEADER_FILES})
and did: $rosmake package_name
Now, I can run the node by:
$rosrun package_name main_ParseString
but I can still run it by:
$rosrun package_name main_ParseStringCommand
Why is this the case and how can I stop this from happening?
Thanks!