Gobligine/.vscode/launch.wargus.json
2021-11-29 10:15:00 +01:00

46 lines
1.7 KiB
JSON

{
"configurations": [
{
"name": "Wartool",
"request": "launch",
"type": "cppdbg",
"windows": {
"type": "cppvsdbg",
"program": "${workspaceFolder}/build/Debug/wartool.exe",
"environment": [{"name": "PATH", "value": "${workspaceFolder}\\..\\dependencies\\bin;${env:PATH}"}],
"externalConsole": true
},
"linux": {
"program": "${workspaceRoot}/build/wartool"
},
"args": ["-v", "${input:datadir}", "${workspaceFolder}/../data.wargus"],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
},
{
"name": "Wargus",
"request": "launch",
"type": "cppdbg",
"windows": {
"type": "cppvsdbg",
"program": "${workspaceFolder}/build/Debug/wargus.exe",
"environment": [{"name": "PATH", "value": "${workspaceFolder}\\..\\dependencies\\bin;${workspaceFolder}\\..\\stratagus\\build\\Debug;${workspaceFolder}\\..\\stratagus\\build\\Release;${env:PATH}"}],
"externalConsole": true
},
"linux": {
"program": "${workspaceRoot}/build/wargus",
"environment": [{"name": "PATH", "value": "${workspaceFolder}/../stratagus/build/:${env:PATH}"}]
},
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}"
}
],
"inputs": [
{
"type": "promptString",
"id": "datadir",
"description": "Enter path to DATA folder"
},
]
}