Testing compile options (#90961)

This commit is contained in:
Holoo
2025-05-16 14:26:32 +03:00
committed by Roxy
parent ba9427876e
commit f9cdc0d89d
2 changed files with 117 additions and 0 deletions

45
.vscode/launch.json vendored
View File

@@ -15,6 +15,27 @@
"preLaunchTask": "Build All (low memory mode)",
"dmb": "${workspaceFolder}/${command:CurrentDMB}"
},
{
"type": "byond",
"request": "launch",
"name": "Launch DreamSeeker (testing)",
"preLaunchTask": "Build All (testing)",
"dmb": "${workspaceFolder}/${command:CurrentDMB}"
},
{
"type": "byond",
"request": "launch",
"name": "Launch DreamSeeker (testing + low memory mode)",
"preLaunchTask": "Build All (testing + low memory mode)",
"dmb": "${workspaceFolder}/${command:CurrentDMB}"
},
{
"type": "byond",
"request": "launch",
"name": "Launch DreamSeeker (map testing)",
"preLaunchTask": "Build All (map testing)",
"dmb": "${workspaceFolder}/${command:CurrentDMB}"
},
{
"type": "byond",
"request": "launch",
@@ -31,6 +52,30 @@
"dmb": "${workspaceFolder}/${command:CurrentDMB}",
"dreamDaemon": true
},
{
"type": "byond",
"request": "launch",
"name": "Launch DreamDaemon (testing)",
"preLaunchTask": "Build All (testing)",
"dmb": "${workspaceFolder}/${command:CurrentDMB}",
"dreamDaemon": true
},
{
"type": "byond",
"request": "launch",
"name": "Launch DreamDaemon (testing + low memory mode)",
"preLaunchTask": "Build All (testing + low memory mode)",
"dmb": "${workspaceFolder}/${command:CurrentDMB}",
"dreamDaemon": true
},
{
"type": "byond",
"request": "launch",
"name": "Launch DreamDaemon (map testing)",
"preLaunchTask": "Build All (map testing)",
"dmb": "${workspaceFolder}/${command:CurrentDMB}",
"dreamDaemon": true
},
{
"name": "Debug External Libraries",
"type": "cppvsdbg",

72
.vscode/tasks.json vendored
View File

@@ -48,6 +48,78 @@
"dependsOn": "dm: reparse",
"label": "Build All (low memory mode)"
},
{
"type": "process",
"command": "tools/build/build",
"args": ["-DTESTING","-DREAGENTS_TESTING","-DTIMER_DEBUG","-DREFERENCE_DOING_IT_LIVE"],
"windows": {
"command": ".\\tools\\build\\build.bat",
"args": ["-DTESTING","-DREAGENTS_TESTING","-DTIMER_DEBUG","-DREFERENCE_DOING_IT_LIVE"]
},
"options": {
"env": {
"DM_EXE": "${config:dreammaker.byondPath}"
}
},
"problemMatcher": [
"$dreammaker",
"$tsc",
"$eslint-stylish"
],
"group": {
"kind": "build"
},
"dependsOn": "dm: reparse",
"label": "Build All (testing)"
},
{
"type": "process",
"command": "tools/build/build",
"args": ["-DLOWMEMORYMODE","-DTESTING","-DREAGENTS_TESTING","-DTIMER_DEBUG","-DREFERENCE_DOING_IT_LIVE"],
"windows": {
"command": ".\\tools\\build\\build.bat",
"args": ["-DLOWMEMORYMODE","-DTESTING","-DREAGENTS_TESTING","-DTIMER_DEBUG","-DREFERENCE_DOING_IT_LIVE"]
},
"options": {
"env": {
"DM_EXE": "${config:dreammaker.byondPath}"
}
},
"problemMatcher": [
"$dreammaker",
"$tsc",
"$eslint-stylish"
],
"group": {
"kind": "build"
},
"dependsOn": "dm: reparse",
"label": "Build All (testing + low memory mode)"
},
{
"type": "process",
"command": "tools/build/build",
"args": ["-DTESTING","-DMAP_TEST"],
"windows": {
"command": ".\\tools\\build\\build.bat",
"args": ["-DTESTING","-DMAP_TEST"]
},
"options": {
"env": {
"DM_EXE": "${config:dreammaker.byondPath}"
}
},
"problemMatcher": [
"$dreammaker",
"$tsc",
"$eslint-stylish"
],
"group": {
"kind": "build"
},
"dependsOn": "dm: reparse",
"label": "Build All (map testing)"
},
{
"type": "dreammaker",
"dme": "tgstation.dme",