diff --git a/src/Library/Library.code-workspace b/src/Library/Library.code-workspace index 02e70fac..1fb8659f 100644 --- a/src/Library/Library.code-workspace +++ b/src/Library/Library.code-workspace @@ -20,10 +20,10 @@ "label": "make", "type": "shell", "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": { - "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" }, @@ -31,13 +31,13 @@ "label": "combi make", "type": "shell", "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": { - "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" - }, + } ], "inputs": [ { @@ -55,11 +55,14 @@ "description": "TV format to use" }, { - "id": "custom config", - "type": "pickString", - "options": ["", "MyConfig"], - "default": "", - "description": "The custom configuration to use for this build" + "id": "config options", + "type": "command", + "command": "shellCommand.execute", + "args": { + "command": "echo ^|^ && dir /b /a:d", + "cwd": "${workspaceFolder}/../../config", + "fieldSeparator": "|" + } }, { "id": "target",