Created PSX Game template to use
This commit is contained in:
63
template/JabyEngine-PSX_Game/#{ProjectName}.code-workspace
Normal file
63
template/JabyEngine-PSX_Game/#{ProjectName}.code-workspace
Normal file
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"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}",
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user