ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

$ROS_ROOT/core/rosbuild/rosconfig.cmake is where ros configuration starts. There are three places ros looks for rosconfig.cmake, and if you parse rosbuild's rosconfig.cmake, you'll find it essentially does the following:

1) $ROS_ROOT/rosconfig.cmake - this is the user's configuration file. 2) <pkg>/rosconfig.cmake - overrides the user's configuration file for a single package.

If neither of the above are found, or not all configuration variables are set:

3) rosbuild/rosconfig.cmake finally sets some sane defaults.

$ROS_ROOT/core/rosbuild/rosconfig.cmake is where ros configuration starts. There are three places ros looks for rosconfig.cmake, and if you parse rosbuild's rosconfig.cmake, you'll find it essentially does the following:

1)

  • $ROS_ROOT/rosconfig.cmake - this is the user's user (global) configuration file. 2) file.
  • <pkg>/rosconfig.cmake - overrides the user's configuration file for a single package.

If neither of the above are found, or not all configuration variables are set:

3)

  • rosbuild/rosconfig.cmake finally sets some sane defaults.