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

46 lines
1.7 KiB
JSON

{
"configurations": [
{
"name": "War1tool",
"request": "launch",
"type": "cppdbg",
"windows": {
"type": "cppvsdbg",
"program": "${workspaceFolder}/build/Debug/war1tool.exe",
"environment": [{"name": "PATH", "value": "${workspaceFolder}\\..\\dependencies\\bin;${env:PATH}"}],
"externalConsole": true
},
"linux": {
"program": "${workspaceRoot}/build/war1tool"
},
"args": ["-v", "${input:datadir}", "${workspaceFolder}/../data.war1gus"],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
},
{
"name": "War1gus",
"request": "launch",
"type": "cppdbg",
"windows": {
"type": "cppvsdbg",
"program": "${workspaceFolder}/build/Debug/war1gus.exe",
"environment": [{"name": "PATH", "value": "${workspaceFolder}\\..\\dependencies\\bin;${workspaceFolder}\\..\\stratagus\\build\\Debug;${workspaceFolder}\\..\\stratagus\\build\\Release;${env:PATH}"}],
"externalConsole": true
},
"linux": {
"program": "${workspaceRoot}/build/war1gus",
"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"
},
]
}