Commit dc682581 authored by Tomas Petricek's avatar Tomas Petricek
Browse files

Allow specify install space.

parent af8eb640
......@@ -12,6 +12,7 @@ Options (environmental variables):
- ros: ROS distribution (kinetic/melodic).
- rosdep: Install dependencies via rosdep? [y/n]
- rosinstall: Workspace rosinstall files.
- install: Path to install space. Don't install if not provided.
"
# Parse arguments.
......@@ -92,6 +93,9 @@ cd "${ws}"
catkin init
catkin config --extend "${extend}"
catkin config --cmake-args -DCMAKE_BUILD_TYPE=Release
if [ "${install}" ]; then
catkin config -i "${install}" --install
fi
if ! catkin build -c; then
echo 'ERROR: Catkin build incomplete!'
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment