Get path to built files programmatically
I have add_custom_commands to build files that will be loaded at run time by a ros node. Right now those files get put into build/my_package/
. Is there a combination of a destination to provide cmake and something like ros::package::getPath() that will allow me to load the files regardless of whether using catkin_make install or devel.
The solution I don't want is to build the files into the source directory.