| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- {
- "version": "2.0.0",
- "tasks": [
- {
- "label": "build recharge",
- "type": "shell",
- "command": "bash",
- "args": [
- "-c",
- "source /opt/ros/${ROS_DISTRO:-foxy}/setup.bash && colcon build --packages-select recharge --cmake-args '-DCMAKE_BUILD_TYPE=Debug' '-DCMAKE_EXPORT_COMPILE_COMMANDS=1' --event-handlers console_direct+"
- ],
- "group": {
- "kind": "build",
- "isDefault": true
- },
- "problemMatcher": [
- {
- "base": "$gcc",
- "fileLocation": ["relative", "${workspaceFolder}/src/recharge"]
- }
- ],
- "presentation": {
- "reveal": "always",
- "panel": "dedicated",
- "showReuseMessage": false,
- "clear": true
- },
- "options": {
- "cwd": "${workspaceFolder}"
- }
- },
- {
- "label": "clean build recharge",
- "type": "shell",
- "command": "bash",
- "args": [
- "-c",
- "source /opt/ros/${ROS_DISTRO:-foxy}/setup.bash && rm -rf build/recharge install/recharge && colcon build --packages-select recharge --cmake-args '-DCMAKE_BUILD_TYPE=Debug' '-DCMAKE_EXPORT_COMPILE_COMMANDS=1'"
- ],
- "group": "build",
- "problemMatcher": ["$gcc"],
- "options": {
- "cwd": "${workspaceFolder}"
- }
- },
- {
- "label": "check dependencies",
- "type": "shell",
- "command": "bash",
- "args": [
- "-c",
- "echo 'Checking dependencies...' && source /opt/ros/${ROS_DISTRO:-foxy}/setup.bash && rosdep install --from-paths src --ignore-src -r -y"
- ],
- "group": "build",
- "options": {
- "cwd": "${workspaceFolder}"
- }
- }
- ]
- }
|