2021-11-15 18:03:23 +01:00
|
|
|
{
|
|
|
|
// 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",
|
2021-11-29 12:08:41 +01:00
|
|
|
"command": "gcc",
|
2021-11-15 18:03:23 +01:00
|
|
|
"args": [
|
2021-11-29 12:08:41 +01:00
|
|
|
{ "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" },
|
2021-11-15 18:03:23 +01:00
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Compile (Release)",
|
|
|
|
"type": "shell",
|
2021-11-29 12:08:41 +01:00
|
|
|
"command": "gcc",
|
2021-11-15 18:03:23 +01:00
|
|
|
"args": [
|
2021-11-29 12:08:41 +01:00
|
|
|
{ "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" },
|
2021-11-15 18:03:23 +01:00
|
|
|
],
|
|
|
|
"group": "build",
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|