tcc-based vscode project for windows (#1191)

Signed-off-by: misterpah <misterpah@gmail.com>
This commit is contained in:
pah arif
2020-04-11 17:23:00 +08:00
committed by GitHub
parent cc816345bf
commit 17ee57c458
5 changed files with 168 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"windows": {
"options": {
"shell": {
"executable": "C:\\windows\\System32\\cmd.exe",
"args": [
"/d", "/c"
]
}
}
},
"tasks": [
{
"label": "build & run",
"type": "shell",
"command": "tcc.exe ${workspaceFolder}\\${fileBasename} -o ${workspaceFolder}\\${fileBasenameNoExtension}.exe -std=c99 -Wall -lmsvcrt -lraylib -lopengl32 -lgdi32 -lkernel32 -lshell32 -luser32 -lwinmm -Wl,-subsystem=gui && ${fileBasenameNoExtension}.exe",
"options": {
"env":{
"PATH" : "C:\\raylib\\tcc\\;%PATH%"
}
},
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": [
"$gcc"
]
}
]
}