From 41567dbd2a19dc08da789b1760a288961bde2e2e Mon Sep 17 00:00:00 2001 From: Molasses <60114762+MolassesLover@users.noreply.github.com> Date: Wed, 4 May 2022 10:52:43 +0200 Subject: [PATCH] Wrote Visual Studo Code/Codium build tasks --- .gitignore | 3 --- .vscode/tasks.json | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 .vscode/tasks.json diff --git a/.gitignore b/.gitignore index 238ff5e46..1a7caa086 100644 --- a/.gitignore +++ b/.gitignore @@ -207,9 +207,6 @@ ModelManifest.xml # Intellij IDEs .idea/ -# Visual studio code project files -.vscode/ - # CMake build cache files .cache/ diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 000000000..e04cd6f49 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,24 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "Build Debug", + "type": "shell", + "command": "cmake -B build -DCMAKE_BUILD_TYPE=Debug; cd build; make", + "problemMatcher": ["gcc"], + "group": { + "kind": "build" + } + }, + { + "label": "Build Release", + "type": "shell", + "command": "cmake -B build -DCMAKE_BUILD_TYPE=Release; cd build; make", + "problemMatcher": ["gcc"], + "group": { + "kind": "build", + "isDefault": true + } + } + ] +} \ No newline at end of file