mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 10:10:57 +00:00
562f7071f0
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
91 lines
2.0 KiB
JSON
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"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |