From 96e1fb6b01d47349d1410272c855483709db714e Mon Sep 17 00:00:00 2001
From: Cyrille Berger <cyrille.berger@liu.se>
Date: Thu, 7 Dec 2023 18:02:07 +0100
Subject: [PATCH] add build tasks

---
 .vscode/c_cpp_properties.json | 17 +++++++++++++++++
 .vscode/tasks.json            | 14 ++++++++++++++
 2 files changed, 31 insertions(+)
 create mode 100644 .vscode/c_cpp_properties.json
 create mode 100644 .vscode/tasks.json

diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json
new file mode 100644
index 0000000..28cc603
--- /dev/null
+++ b/.vscode/c_cpp_properties.json
@@ -0,0 +1,17 @@
+{
+    "configurations": [
+        {
+            "name": "Linux",
+            "includePath": [
+                "${workspaceFolder}/**"
+            ],
+            "defines": [],
+            "compilerPath": "/usr/bin/gcc",
+            "cStandard": "c11",
+            "cppStandard": "c++20",
+            "intelliSenseMode": "gcc-x64",
+            "compileCommands": "/home/cyrille/ros2_ws/build/ros_pralin_interfaces/compile_commands.json"
+        }
+    ],
+    "version": 4
+}
\ No newline at end of file
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
new file mode 100644
index 0000000..7eb4bd5
--- /dev/null
+++ b/.vscode/tasks.json
@@ -0,0 +1,14 @@
+{
+  "version": "2.0.0",
+  "tasks": [
+    {
+      "label": "build ros_pralin_interfaces",
+      "type": "shell",
+      "command": "cd ~/ros2_ws; colcon build --cmake-args -DCMAKE_EXPORT_COMPILE_COMMANDS=On --paths src/ros_pralin_interfaces",
+      "group": "build",
+      "presentation": {
+        "clear": true
+      }
+    }
+  ]
+}
\ No newline at end of file
-- 
GitLab