jabyengine/JabyEngine.code-workspace

126 lines
2.7 KiB
Plaintext

{
"folders": [
{
"path": "."
}
],
"tasks": {
"version": "2.0.0",
"tasks": [
{
"label": "make",
"type": "shell",
"command": "wsl make ${input:target} BUILD=${input:build}",
"options": {
"cwd": "Library/Code"
},
"problemMatcher": []
},
{
"label": "finalize",
"type": "shell",
"command": "Finalize.bat ${input:finalize_tool} ${input:finalize} JabyEngine Library\\Code",
"options": {
"env": {
"PATH": "./Tools/;./Tools/psxcdgen/psxcdgen/target/release;../../Tools/;../../Tools/mkpsxiso;${env:PATH}"
}
},
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": [],
},
{
"label": "nugget make",
"type": "shell",
"dependsOrder": "sequence",
"dependsOn": ["make", "finalize"],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "jaby make",
"type": "shell",
"command": "wsl make ${input:target} BUILD=${input:build} USE_JABY_MAKE=true",
"options": {
"cwd": "Library/Code"
},
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "jaby make & finalize",
"type": "shell",
"dependsOrder": "sequence",
"dependsOn": ["jaby make", "finalize"],
"group": {
"kind": "build",
"isDefault": true
}
}
],
"inputs": [
{
"id": "build",
"type": "pickString",
"description": "Build type to use",
"options": ["Debug", "Release"],
"default": "Release"
},
{
"id": "target",
"type": "pickString",
"description": "Target to build",
"options": ["", "rebuild", "fullclean", "clean"],
"default": ""
},
{
"id": "finalize",
"type": "pickString",
"description": "Mode for FinalizeCD",
"options": ["all", "calculate", "skip"],
"default": "all"
},
{
"id": "finalize_tool",
"type": "pickString",
"description": "Tool to use for Finalizing the CD",
"options": ["mkpsxiso.exe", "psxcdgen"],
"default": "mkpsxiso.exe"
},
{
"id": "target",
"type": "pickString",
"description": "Phony target",
"options": ["all", "clean"],
"default": "all"
},
{
"id": "build_profile",
"type": "pickString",
"description": "Build type to use",
"options": ["debug", "release"],
"default": "release"
},
],
},
"settings": {
"C_Cpp.default.name": "PSX",
"C_Cpp.default.includePath": [
"../../PSYQ/Converted/Include"
],
"C_Cpp.default.compilerPath": "",
"C_Cpp.default.cStandard": "c17",
"C_Cpp.default.cppStandard": "c++20",
"C_Cpp.default.compilerArgs": [
],
"C_Cpp.default.defines": [
]
}
}