Skip to content

Instantly share code, notes, and snippets.

@tykurtz
Last active July 29, 2019 22:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tykurtz/d6af19619cdb4a1b7e03180d0c582c65 to your computer and use it in GitHub Desktop.
Save tykurtz/d6af19619cdb4a1b7e03180d0c582c65 to your computer and use it in GitHub Desktop.
Catkin profile configuration setup
#!/bin/bash
mkdir ~/catkin_ws
cd ~/catkin_ws
catkin init
mkdir src
catkin config --profile release -x _release --extend /opt/ros/melodic --cmake-args -DCMAKE_BUILD_TYPE=Release
catkin config --profile debug -x _debug --extend /opt/ros/melodic --cmake-args -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=1
catkin profile set debug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment