Update template with latest tools; Add install batch file for easy usage with VSCode addon

This commit is contained in:
Jaby Blubb
2023-04-22 15:45:07 +02:00
parent 2f88f0c429
commit 464dd8f7d5
8 changed files with 56 additions and 28 deletions

View File

@@ -11,19 +11,22 @@
{
"label": "build",
"type": "shell",
"command": "wsl make ${input:target} BUILD_PROFILE=${input:build profile} JABY_ENGINE_DIR=../${config:jaby_engine_path}",
"command": "wsl make ${input:target} BUILD_PROFILE=${input:build profile} JABY_ENGINE_DIR=$(wslpath ${env:JABY_ENGINE_PATH})",
"group": {
"kind": "build",
"isDefault": true
},
"options": {
"cwd": "application"
"cwd": "application",
"env": {
"PATH": "${env:JABY_ENGINE_PATH}/bin;${env:PATH}"
}
}
},
{
"label": "cdgen",
"type": "shell",
"command": "${config:jaby_engine_path}/bin/psxcdgen.exe iso/Config.xml",
"command": "${env:JABY_ENGINE_PATH}/bin/psxcdgen_ex.exe --list iso/#{ProjectName}.lba -o iso/#{ProjectName} psx bin-cue iso/Config.xml",
"group": {
"kind": "build",
"isDefault": true
@@ -46,7 +49,7 @@
"type": "pickString",
"options": ["debug", "release"],
"default": "release",
"description": "the build profile for #{ProjectName}"
"description": "The build profile for #{ProjectName}"
},
{
"id": "target",
@@ -58,6 +61,17 @@
]
},
"settings": {
"jaby_engine_path": "#{JabyEnginePath}",
"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"
],
}
}