Skip to content

Commit

Permalink
Add more tasks in tasks.json
Browse files Browse the repository at this point in the history
  • Loading branch information
quentin452 committed May 2, 2024
1 parent af67c38 commit e76e6e5
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@
"gfx_sdl.h": "c",
"gfx_window_manager_api.h": "c",
"stdbool.h": "c",
"graph_node.h": "c"
"graph_node.h": "c",
"windows.h": "c"
},
"git.ignoreLimitWarning": true,
"[cpp]": {
Expand Down
41 changes: 37 additions & 4 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,25 @@
"problemMatcher": []
},
{
"label": "Build Super Mario 64",
"label": "run-Super-Mario-64",
"type": "process",
"command": "${workspaceFolder}/build/us_pc/sm64.us.f3dex2e.exe",
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "shared"
},
},
{
"label": "Build Super Mario 64 With Debug",
"type": "shell",
"command": "make",
"args": [
"DEBUG=1",
"WINDOWS_CONSOLE=1",
"RENDER_API=D3D12",
"TEXTURE_FIX=1",
"DISCORDRPC=1",
Expand All @@ -33,7 +48,7 @@
"dependsOn": "Kill sm64.us.f3dex2e.exe"
},
{
"label": "run-Super-Mario-64",
"label": "build-and-run-Super-Mario-64-With-Debug",
"type": "process",
"command": "${workspaceFolder}/build/us_pc/sm64.us.f3dex2e.exe",
"group": {
Expand All @@ -44,9 +59,27 @@
"reveal": "always",
"panel": "shared"
},
"dependsOn": "Build Super Mario 64 With Debug"
},
{
"label": "Build Super Mario 64 With Release",
"type": "shell",
"command": "make",
"args": [
"RENDER_API=D3D12",
"TEXTURE_FIX=1",
"DISCORDRPC=1",
"TEXTSAVES=1",
"EXT_OPTIONS_MENU=1"
],
"group": {
"kind": "build",
"isDefault": true
},
"dependsOn": "Kill sm64.us.f3dex2e.exe"
},
{
"label": "build-and-run-Super-Mario-64",
"label": "build-and-run-Super-Mario-64-With-Release",
"type": "process",
"command": "${workspaceFolder}/build/us_pc/sm64.us.f3dex2e.exe",
"group": {
Expand All @@ -57,7 +90,7 @@
"reveal": "always",
"panel": "shared"
},
"dependsOn": "Build Super Mario 64"
"dependsOn": "Build Super Mario 64 With Release"
}
]
}

0 comments on commit e76e6e5

Please sign in to comment.