Merge pull request #3 from MurrayIRC/patch-3

Added OSX launch configurations for debug and release
This commit is contained in:
Murray Campbell 2018-08-30 09:49:23 -05:00 committed by GitHub
commit ea84cce27d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@
"version": "0.2.0",
"configurations": [
{
"name": "Debug",
"name": "(WIN) Debug",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/game.exe",
@ -23,10 +23,10 @@
"ignoreFailures": false
}
],
"preLaunchTask": "build debug"
"preLaunchTask": "(WIN) build debug"
},
{
"name": "Run",
"name": "(WIN) Run",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/game.exe",
@ -44,7 +44,25 @@
"ignoreFailures": false
}
],
"preLaunchTask": "build release"
"preLaunchTask": "(WIN) build release"
},
{
"name": "(OSX) Debug",
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/game",
"args": [],
"cwd": "${workspaceFolder}",
"preLaunchTask": "(OSX) build debug"
},
{
"name": "(OSX) Run",
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/game",
"args": [],
"cwd": "${workspaceFolder}",
"preLaunchTask": "(OSX) build release"
},
]
}
}