jabyengine/template/JabyEngine-PSX_Game/#{ProjectName}.code-workspace

63 lines
1.2 KiB
Plaintext

{
"folders": [
{
"path": ".",
"name": "#{ProjectName}"
}
],
"tasks": {
"version": "2.0.0",
"tasks": [
{
"label": "build",
"type": "shell",
"command": "wsl make ${input:target} BUILD_PROFILE=${input:build profile} JABY_ENGINE_DIR=../${config:jaby_engine_path}",
"group": {
"kind": "build",
"isDefault": true
},
"options": {
"cwd": "application"
}
},
{
"label": "cdgen",
"type": "shell",
"command": "${config:jaby_engine_path}/bin/psxcdgen.exe iso/Config.xml",
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "build & generate cd",
"type": "shell",
"dependsOn": ["build", "cdgen"],
"dependsOrder": "sequence",
"group": {
"kind": "build",
"isDefault": true
}
}
],
"inputs": [
{
"id": "build profile",
"type": "pickString",
"options": ["debug", "release"],
"default": "release",
"description": "the build profile for #{ProjectName}"
},
{
"id": "target",
"type": "pickString",
"options": ["all", "clean", "rebuild"],
"default": "all",
"description": "the build target"
}
]
},
"settings": {
"jaby_engine_path": "#{JabyEnginePath}",
}
}