Skip to content

Commit

Permalink
Add games to VS Code build & debug configuration (#808)
Browse files Browse the repository at this point in the history
  • Loading branch information
littletijn authored May 14, 2024
1 parent cfe8f56 commit e811bb9
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 39 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ xcuserdata/
project.xcworkspace/
*.dSYM/

.vscode

.DS_Store
._*
/source/voidwrap/sdk/
Expand Down
44 changes: 16 additions & 28 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,74 +2,62 @@
"version": "0.2.0",
"configurations": [
{
"name": "Debug EDuke32",
"name": "Debug Rednukem",
"type": "cppdbg",
"request": "launch",
"linux": {
"program": "${workspaceRoot}/eduke32",
"program": "${workspaceRoot}/rednukem",
},
"windows": {
"program": "${workspaceRoot}/eduke32.exe",
"program": "${workspaceRoot}/rednukem.exe",
},
"cwd": "${workspaceRoot}",
},
{
"name": "Debug Mapster32",
"name": "Debug NBlood",
"type": "cppdbg",
"request": "launch",
"linux": {
"program": "${workspaceRoot}/mapster32",
"program": "${workspaceRoot}/nblood",
},
"windows": {
"program": "${workspaceRoot}/mapster32.exe",
"program": "${workspaceRoot}/nblood.exe",
},
"cwd": "${workspaceRoot}",
},
{
"name": "Debug VoidSW",
"name": "Debug PCExhumed",
"type": "cppdbg",
"request": "launch",
"linux": {
"program": "${workspaceRoot}/voidsw",
"program": "${workspaceRoot}/pcexhumed",
},
"windows": {
"program": "${workspaceRoot}/voidsw.exe",
"program": "${workspaceRoot}/pcexhumed.exe",
},
"cwd": "${workspaceRoot}",
},
{
"name": "Debug Wangulator",
"type": "cppdbg",
"request": "launch",
"linux": {
"program": "${workspaceRoot}/wangulator",
},
"windows": {
"program": "${workspaceRoot}/wangulator.exe",
},
"cwd": "${workspaceRoot}",
},
}
{
"name": "Debug EKenBuild",
"name": "Debug ETekwar",
"type": "cppdbg",
"request": "launch",
"linux": {
"program": "${workspaceRoot}/ekenbuild",
"program": "${workspaceRoot}/etekwar",
},
"windows": {
"program": "${workspaceRoot}/ekenbuild.exe",
"program": "${workspaceRoot}/etekwar.exe",
},
"cwd": "${workspaceRoot}",
},
{
"name": "Debug EKenBuild-Editor",
"name": "Debug EWitchaven",
"type": "cppdbg",
"request": "launch",
"linux": {
"program": "${workspaceRoot}/ekenbuild-editor",
"program": "${workspaceRoot}/ewitchaven",
},
"windows": {
"program": "${workspaceRoot}/ekenbuild-editor.exe",
"program": "${workspaceRoot}/ewitchaven.exe",
},
"cwd": "${workspaceRoot}",
}
Expand Down
46 changes: 37 additions & 9 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,41 +3,69 @@
"tasks": [
{
"type": "shell",
"label": "Build EDuke32 and Mapster32 Debug",
"label": "Build Rednukem Debug",
"linux": {
"command": "make RELEASE=0",
"command": "make rr RELEASE=0",
"details": "GNU Make for Linux"
},
"windows": {
"command": "mingw32-make.exe RELEASE=0",
"command": "mingw32-make.exe rr RELEASE=0",
"detail": "GNU Make with mingw32 for Windows"
},
"group": "build",
"problemMatcher": [],
},
{
"type": "shell",
"label": "Build VoidSW and Wangulator Debug",
"label": "Build NBlood Debug",
"linux": {
"command": "make sw RELEASE=0",
"command": "make blood RELEASE=0",
"details": "GNU Make for Linux"
},
"windows": {
"command": "mingw32-make.exe sw RELEASE=0",
"command": "mingw32-make.exe blood RELEASE=0",
"detail": "GNU Make with mingw32 for Windows"
},
"group": "build",
"problemMatcher": [],
},
{
"type": "shell",
"label": "Build EKenbuild and EKenbuild-Editor Debug",
"label": "Build PCExhumed Debug",
"linux": {
"command": "make kenbuild RELEASE=0",
"command": "make exhumed RELEASE=0",
"details": "GNU Make for Linux"
},
"windows": {
"command": "mingw32-make.exe kenbuild RELEASE=0",
"command": "mingw32-make.exe exhumed RELEASE=0",
"detail": "GNU Make with mingw32 for Windows"
},
"group": "build",
"problemMatcher": [],
},
{
"type": "shell",
"label": "Build ETekwar Debug",
"linux": {
"command": "make tekwar RELEASE=0",
"details": "GNU Make for Linux"
},
"windows": {
"command": "mingw32-make.exe tekwar RELEASE=0",
"detail": "GNU Make with mingw32 for Windows"
},
"group": "build",
"problemMatcher": [],
},
{
"type": "shell",
"label": "Build EWitchaven Debug",
"linux": {
"command": "make witchaven RELEASE=0",
"details": "GNU Make for Linux"
},
"windows": {
"command": "mingw32-make.exe witchaven RELEASE=0",
"detail": "GNU Make with mingw32 for Windows"
},
"group": "build",
Expand Down

0 comments on commit e811bb9

Please sign in to comment.