From dbfc40b6bd6abfa1926156289cd417c992109cbd Mon Sep 17 00:00:00 2001 From: ergz Date: Sat, 8 Jul 2023 17:51:04 -0700 Subject: [PATCH] build system for vscode --- .vscode/launch.json | 9 +++++++++ .vscode/tasks.json | 25 +++++++++++++++++++++++++ 2 files changed, 34 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..82e6d33 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,9 @@ +{ + // 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": [ + + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..dc97795 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,25 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "type": "shell", + "label": "C/C++: cl.exe build active file", + "windows": { + "command": "cl.exe", + "args": [ + "/Zi", + "/EHsc", + "/Fe:", + "${fileDirname}\\${fileBasenameNoExtension}.exe", + "${file}" + ], + "problemMatcher": ["$msCompile"], + }, + "group": { + "kind": "build", + "isDefault": true + }, + "detail": "Task generated by Debugger." + } + ] + } \ No newline at end of file