diff --git a/README.md b/README.md index 802fc64b509c7127d4a4a72513fa68cfefc56443..3f8f7536a5dd894d542fb7b87fabce3f56651e27 100644 --- a/README.md +++ b/README.md @@ -103,4 +103,11 @@ to use the [catkin tools](https://catkin-tools.readthedocs.io/en/latest/), [catkin_make_isolated](http://www.ros.org/reps/rep-0134.html) or [colcon build](https://colcon.readthedocs.io/en/latest/user/quick-start.html). - +It is required to set a profile for compilation. Use a combination of these +commands: +``` +catkin config --profile debug -x _debug --cmake-args -DCMAKE_BUILD_TYPE=Debug +catkin config --profile release -x _release --cmake-args -DCMAKE_BUILD_TYPE=Release +catkin build --profile debug +catkin build --profile release +```