From f8cf602b9106191f8c53413a3f799b0040df6488 Mon Sep 17 00:00:00 2001 From: BigDave Date: Fri, 13 Jul 2018 12:24:58 +0100 Subject: [PATCH] Added .gitignore and WIn32 build --- .gitignore | 2 ++ .vscode/launch.json | 19 +++++++++++++++++++ .vscode/tasks.json | 38 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 .gitignore create mode 100644 .vscode/launch.json create mode 100644 .vscode/tasks.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..747a37e --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ + +psharp.exe diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..c9ccbaa --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,19 @@ +{ + // 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": [ + { + "name": "(Windows) Launch", + "type": "cppvsdbg", + "request": "launch", + "program": "${workspaceFolder}/psharp.exe", + "args": [], + "stopAtEntry": false, + "cwd": "${workspaceFolder}", + "environment": [], + "externalConsole": true + } + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..8920fc8 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,38 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "Win32 Build", + "type": "shell", + "command": "gcc", + "args": [ + "-g", + "-o", + "psharp.exe", + "api.c", + "builtin.c", + "compile.c", + "constant.c", + "hashmap.c", + "interpreter.c", + "lexer.c", + "lib.c", + "memobj.c", + "oop.c", + "parser.c", + "vfs.c", + "vm.c" + ], + "group": { + "kind": "build", + "isDefault": true + }, + "presentation": { + // Reveal the output only if unrecognized errors occur. + "reveal": "silent" + } + } + ] +} \ No newline at end of file