mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
tcc-based vscode project for windows (#1191)
Signed-off-by: misterpah <misterpah@gmail.com>
This commit is contained in:
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"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user