This repository has been archived on 2021-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
raylib-test/.vscode/tasks.json
Tobias Berger 1a1a73ea9f Switch to GCC and C++
Also add workspace file
2021-11-29 12:08:41 +01:00

71 lines
No EOL
3.9 KiB
JSON

{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Compile (Debug)",
"type": "shell",
"command": "gcc",
"args": [
{ "value": "src/**.cpp", "quoting": "weak" },
{ "value": "-ooutput.exe", "quoting": "strong" },
{ "value": "-Og", "quoting": "strong" },
{ "value": "-g", "quoting": "strong" },
{ "value": "-Iinclude", "quoting": "strong" },
{ "value": "-Iraylib/src", "quoting": "strong" },
{ "value": "-Iraylib/src/extras", "quoting": "strong" },
{ "value": "-Llib", "quoting": "strong" },
{ "value": "-std=c++2a", "quoting": "strong" },
{ "value": "-Werror", "quoting": "strong" },
{ "value": "-Wall", "quoting": "strong" },
{ "value": "-Wextra", "quoting": "strong" },
{ "value": "-Wno-missing-field-initializers", "quoting": "strong" },
{ "value": "-Wpedantic", "quoting": "strong" },
{ "value": "-pedantic-errors", "quoting": "strong" },
{ "value": "-Wwrite-strings", "quoting": "strong" },
{ "value": "-lraylib", "quoting": "strong" },
{ "value": "-lopengl32", "quoting": "strong" },
{ "value": "-lgdi32", "quoting": "strong" },
{ "value": "-luser32", "quoting": "strong" },
{ "value": "-lshell32", "quoting": "strong" },
{ "value": "-lwinmm", "quoting": "strong" },
{ "value": "-D__DEBUG", "quoting": "strong" },
],
"group": {
"kind": "build",
"isDefault": true
},
},
{
"label": "Compile (Release)",
"type": "shell",
"command": "gcc",
"args": [
{ "value": "src/**.cpp", "quoting": "weak" },
{ "value": "-ooutput.exe", "quoting": "strong" },
{ "value": "-Ofast", "quoting": "strong" },
{ "value": "-Iinclude", "quoting": "strong" },
{ "value": "-Iraylib/src", "quoting": "strong" },
{ "value": "-Iraylib/src/extras", "quoting": "strong" },
{ "value": "-Llib", "quoting": "strong" },
{ "value": "-std=c++2a", "quoting": "strong" },
{ "value": "-Werror", "quoting": "strong" },
{ "value": "-Wall", "quoting": "strong" },
{ "value": "-Wextra", "quoting": "strong" },
{ "value": "-Wno-missing-field-initializers", "quoting": "strong" },
{ "value": "-Wpedantic", "quoting": "strong" },
{ "value": "-pedantic-errors", "quoting": "strong" },
{ "value": "-Wwrite-strings", "quoting": "strong" },
{ "value": "-lraylib", "quoting": "strong" },
{ "value": "-lopengl32", "quoting": "strong" },
{ "value": "-lgdi32", "quoting": "strong" },
{ "value": "-luser32", "quoting": "strong" },
{ "value": "-lshell32", "quoting": "strong" },
{ "value": "-lwinmm", "quoting": "strong" },
{ "value": "-Wl,--subsystem,windows", "quoting": "strong" },
],
"group": "build",
}
]
}