tcc-based vscode project for windows (#1191)
Signed-off-by: misterpah <misterpah@gmail.com>
This commit is contained in:
parent
cc816345bf
commit
17ee57c458
1 changed files with 168 additions and 0 deletions
34
projects/VSCode_tcc_win/.vscode/tasks.json
vendored
Normal file
34
projects/VSCode_tcc_win/.vscode/tasks.json
vendored
Normal 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"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in a new issue