RetroArch/.vscode/tasks.json
radius 562f7071f0 allow building and debugging RetroArch from Visual Studio code automatically on a MINGW64 (MSYS2) installation
this works if MSYS2 is installed in the default path

allow building RetroArch from the command pallete

Allow building, and starting RetroArch via vscode Tasks

use 3 whitespaces for tabs
2017-11-29 18:21:13 -05:00

91 lines
2.0 KiB
JSON

{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"taskName": "Build",
"type": "shell",
"group": {
"kind": "build",
"isDefault": true },
"command": "./configure; make -j2",
"options": {
"shell": {
"executable": "C:\\msys64\\usr\\bin\\bash.exe",
"args": [
"-c"
]
}
}
}
{
"taskName": "Build with debugging symbols",
"type": "shell",
"group": "build",
"command": "./configure; DEBUG=1 make -j2",
"options": {
"shell": {
"executable": "C:\\msys64\\usr\\bin\\bash.exe",
"args": [
"-c"
]
}
}
}
{
"taskName": "Build without reconfiguring",
"type": "shell",
"group": "build",
"command": "make -j2",
"options": {
"shell": {
"executable": "C:\\msys64\\usr\\bin\\bash.exe",
"args": [
"-c"
]
}
}
}
{
"taskName": "Clean",
"type": "shell",
"group": "build",
"command": "make clean",
"options": {
"shell": {
"executable": "C:\\msys64\\usr\\bin\\bash.exe",
"args": [
"-c"
]
}
}
}
{
"taskName": "Start",
"type": "shell",
"group": {
"kind": "test",
"isDefault": true },
"command": "./retroarch -v",
"options": {
"shell": {
"executable": "C:\\msys64\\usr\\bin\\bash.exe",
"args": [
"-c"
]
}
}
}
]
}