mirror of
https://github.com/Nimac0/SDL_Minigame
synced 2026-01-12 13:43:41 +00:00
67 lines
2.1 KiB
JSON
67 lines
2.1 KiB
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"type": "shell",
|
|
"label": "build-engine-debug",
|
|
"command": "cd build; cmake -DCMAKE_BUILD_TYPE=Debug; cmake --build .",
|
|
"problemMatcher": [],
|
|
"group": "build"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "build-engine",
|
|
"command": "cd build; cmake -DCMAKE_BUILD_TYPE=Release; cmake --build .",
|
|
"problemMatcher": [],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"type": "docker-build",
|
|
"label": "build-doxygen",
|
|
"dockerBuild": {
|
|
"context": "${workspaceRoot}/docs/docker",
|
|
"tag": "vego_doxygen-docker",
|
|
},
|
|
"problemMatcher": [],
|
|
},
|
|
{
|
|
"type": "docker-run",
|
|
"label": "gen-doxygen",
|
|
"dockerRun": {
|
|
"image": "vego_doxygen-docker",
|
|
"remove": true,
|
|
"volumes": [
|
|
{
|
|
"localPath": "${workspaceFolder}",
|
|
"containerPath": "/source"
|
|
},
|
|
{
|
|
"localPath": "${workspaceFolder}/docs",
|
|
"containerPath": "/output"
|
|
},
|
|
{
|
|
"localPath": "${workspaceFolder}/docs/Doxyfile",
|
|
"containerPath": "/Doxyfile"
|
|
},
|
|
]
|
|
},
|
|
"problemMatcher": [],
|
|
},
|
|
{
|
|
"type": "process",
|
|
"label": "open-doxygen",
|
|
"command": "explorer",
|
|
"windows": {
|
|
"command": "explorer.exe"
|
|
},
|
|
"args": ["${workspaceFolder}\\docs\\html\\index.html"],
|
|
"problemMatcher": [],
|
|
"dependsOn": "gen-doxygen",
|
|
}
|
|
]
|
|
} |