Added .gitignore and WIn32 build

This commit is contained in:
BigDave 2018-07-13 12:24:58 +01:00
parent e53cfb8ba0
commit f8cf602b91
Signed by: BigDave
GPG Key ID: 2787C0A942BB86EC
3 changed files with 59 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
psharp.exe

19
.vscode/launch.json vendored Normal file
View File

@ -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
}
]
}

38
.vscode/tasks.json vendored Normal file
View File

@ -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"
}
}
]
}