From 3d9442e329b84007883eeb79812bad362ecc8d76 Mon Sep 17 00:00:00 2001 From: Gatsby Van Date: Wed, 24 Jan 2024 11:43:31 +0800 Subject: [PATCH] vscode configure files. --- .vscode/launch.json | 17 +++++++++++++++++ .vscode/tasks.json | 18 ++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 .vscode/launch.json create mode 100644 .vscode/tasks.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..d353722 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,17 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "lldb", + "request": "launch", + "name": "Debug Linklayer Emulation", + "program": "${workspaceFolder}/df_datalink_sp/unit_test/linklayer_emulate_unit_test.exe", + "args": [], + "cwd": "${workspaceFolder}/df_datalink_sp/unit_test", + "preLaunchTask": "linklayer_emulate_unit_test", + } + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..6fa64f1 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,18 @@ +{ + "version": "2.0.0", + "reveal": "always", + "tasks": [ + { + "label": "linklayer_emulate_unit_test", + "command": "bash", + "type": "shell", + "group": { + "kind": "build" + }, + "options": { + "cwd": "${workspaceFolder}/df_datalink_sp/unit_test" + }, + "args": ["-c", "make linklayer_emulate_unit_test.exe"] + } + ] +} \ No newline at end of file