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

There is a CMakeLists.txt file here that you can use to import into CLion: https://gist.github.com/rotu/1eac858b808b82bbf1b475f515e91636

Place this CMakeLists.txt file in your ros2_ws root.

To import all the projects in your workspace, comment out the --packages-select line at the end.

For large workspaces such as a full ROS 2 build, it is recommended to just select a few to build with the --packages-select option.

Steps to import are: 1. colcon build 2. source install/setup.bash 3. Launch clion from that terminal 4. Open the CMakeLists.txt in the workspace root

There is a CMakeLists.txt file here that you can use to import into CLion: https://gist.github.com/rotu/1eac858b808b82bbf1b475f515e91636

Place this CMakeLists.txt file in your ros2_ws root.

To import all the projects in your workspace, comment out the --packages-select line at the end.

For large workspaces such as a full ROS 2 build, it is recommended to just select a few to build with the --packages-select option.

Steps to import are: 1. are:

  1. colcon build 2. build
  2. source install/setup.bash 3. install/setup.bash
  3. Launch clion from that terminal 4. terminal
  4. Open the CMakeLists.txt in the workspace root