Detect config folder for build
This commit is contained in:
parent
c4cf5754bc
commit
a3d50865c9
|
@ -20,10 +20,10 @@
|
||||||
"label": "make",
|
"label": "make",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"windows": {
|
"windows": {
|
||||||
"command": "wsl make ${input:target} BUILD_PROFILE=${input:build cfg} TV_FORMAT=${input:tv format} CUSTOM_CONFIG=${input:custom config}",
|
"command": "wsl make ${input:target} BUILD_PROFILE=${input:build cfg} TV_FORMAT=${input:tv format} CUSTOM_CONFIG=${input:config options}",
|
||||||
},
|
},
|
||||||
"linux": {
|
"linux": {
|
||||||
"command": "make ${input:target} BUILD_PROFILE=${input:build cfg} TV_FORMAT=${input:tv format} CUSTOM_CONFIG=${input:custom config}",
|
"command": "make ${input:target} BUILD_PROFILE=${input:build cfg} TV_FORMAT=${input:tv format} CUSTOM_CONFIG=${input:config options}",
|
||||||
},
|
},
|
||||||
"group": "build"
|
"group": "build"
|
||||||
},
|
},
|
||||||
|
@ -31,13 +31,13 @@
|
||||||
"label": "combi make",
|
"label": "combi make",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"windows": {
|
"windows": {
|
||||||
"command": "wsl make -f CombiMake.mk ${input:target} BUILD_PROFILE=${input:build cfg} CUSTOM_CONFIG=${input:custom config}",
|
"command": "wsl make -f CombiMake.mk ${input:target} BUILD_PROFILE=${input:build cfg} CUSTOM_CONFIG=${input:config options}",
|
||||||
},
|
},
|
||||||
"linux": {
|
"linux": {
|
||||||
"command": "make -f CombiMake.mk ${input:target} BUILD_PROFILE=${input:build cfg} CUSTOM_CONFIG=${input:custom config}",
|
"command": "make -f CombiMake.mk ${input:target} BUILD_PROFILE=${input:build cfg} CUSTOM_CONFIG=${input:config options}",
|
||||||
},
|
},
|
||||||
"group": "build"
|
"group": "build"
|
||||||
},
|
}
|
||||||
],
|
],
|
||||||
"inputs": [
|
"inputs": [
|
||||||
{
|
{
|
||||||
|
@ -55,11 +55,14 @@
|
||||||
"description": "TV format to use"
|
"description": "TV format to use"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "custom config",
|
"id": "config options",
|
||||||
"type": "pickString",
|
"type": "command",
|
||||||
"options": ["", "MyConfig"],
|
"command": "shellCommand.execute",
|
||||||
"default": "",
|
"args": {
|
||||||
"description": "The custom configuration to use for this build"
|
"command": "echo ^|^<Default^> && dir /b /a:d",
|
||||||
|
"cwd": "${workspaceFolder}/../../config",
|
||||||
|
"fieldSeparator": "|"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "target",
|
"id": "target",
|
||||||
|
|
Loading…
Reference in New Issue