76 lines
1.6 KiB
Plaintext
76 lines
1.6 KiB
Plaintext
{
|
|
"folders": [
|
|
{
|
|
"path": ".",
|
|
"name": "PoolBox"
|
|
}
|
|
],
|
|
"tasks": {
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "build",
|
|
"type": "shell",
|
|
"command": "wsl make ${input:target} BUILD_PROFILE=${input:build profile} JABY_ENGINE_DIR=$(wslpath ${env:JABY_ENGINE_PATH})",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"options": {
|
|
"env": {
|
|
"PATH": "${env:JABY_ENGINE_PATH}/bin;${env:PATH}"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"label": "cdgen",
|
|
"type": "shell",
|
|
"command": "${env:JABY_ENGINE_PATH}/bin/psxcdgen_ex.exe --list iso/PoolBox.lba -o iso/PoolBox psx bin-cue 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 PoolBox"
|
|
},
|
|
{
|
|
"id": "target",
|
|
"type": "pickString",
|
|
"options": ["all", "clean", "rebuild"],
|
|
"default": "all",
|
|
"description": "the build target"
|
|
}
|
|
]
|
|
},
|
|
"settings": {
|
|
"C_Cpp.default.includePath": [
|
|
"${env:JABY_ENGINE_PATH}/include"
|
|
],
|
|
"C_Cpp.default.compilerPath": "",
|
|
"C_Cpp.default.cStandard": "c17",
|
|
"C_Cpp.default.cppStandard": "c++20",
|
|
"C_Cpp.default.intelliSenseMode": "linux-gcc-x86",
|
|
"C_Cpp.default.compilerArgs": [
|
|
],
|
|
"C_Cpp.default.defines": [
|
|
"JABYENGINE_PAL"
|
|
],
|
|
}
|
|
} |