From b94792f982979cb5f81c84b5dd084261822aa4c3 Mon Sep 17 00:00:00 2001 From: Per <Per Lindgren> Date: Tue, 27 Nov 2018 09:50:34 +0100 Subject: [PATCH] vscode --- .vscode/tasks.json | 19 +++++++++++++++++++ ctest/test1.c | 10 ++++++++++ 2 files changed, 29 insertions(+) create mode 100644 .vscode/tasks.json create mode 100644 ctest/test1.c diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..2b178af --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,19 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "make", + "type": "shell", + "options": { + "cwd": "${workspaceFolder}/build" + }, + "command": "make", + "group": { + "kind": "build", + "isDefault": true + } + } + ] +} \ No newline at end of file diff --git a/ctest/test1.c b/ctest/test1.c new file mode 100644 index 0000000..720fc94 --- /dev/null +++ b/ctest/test1.c @@ -0,0 +1,10 @@ +int f1() +{ + return 0; +} + +int main() +{ + f1(); + return 0; +} \ No newline at end of file -- GitLab