forked from FWGS/xash3d-fwgs
-
Notifications
You must be signed in to change notification settings - Fork 16
Example VSCode configs
NightFox edited this page Mar 1, 2023
·
7 revisions
launch.json
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "(Windows) Launch",
"type": "cppvsdbg",
"request": "launch",
"program": "path_to_xash3d-fwgs/xash3d.exe",
"args": [
"-ref", "vk",
"-vkdebug",
"-rtx",
"-log",
"-dev", "2",
//"+r_wadtextures", "1",
//"+map", "c1a0d",
//"+map", "c4a1",
//"+map", "c0a0c",
//"+map", "c1a0c",
"+map", "c1a0",
//"+map", "c3a2a",
//"+map", "c3a1b",
//"+map", "test_brush",
//"+map", "bounce",
//"+map", "sponza",
//"+load", "save020",
],
"stopAtEntry": false,
"cwd": "path_to_xash3d-fwgs/",
"environment": [],
"console": "integratedTerminal",
"preLaunchTask": "build"
}
]
}
tasks.json
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "waf configure",
"type": "shell",
"command": "./waf configure -8 -T debug --sdl2=C:\\SDK\\SDL2-2.0.14 --aftermath=C:\\SDK\\NVIDIA_Nsight_Aftermath_SDK_2021.1.0.21090 --prefix=path_to_xash3d-fwgs",
},
{
"label": "waf build",
"type": "shell",
"command": "./waf build",
},
{
"label": "waf install",
"type": "shell",
"command": "./waf install",
"dependsOn": [ "waf build" ],
},
{
"label": "build",
"dependsOn": [ "waf install" ],
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}