| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- {
- "version": "2.0.0",
- "tasks": [
- {
- "label": "Load Keyboard",
- "dependsOrder": "sequence",
- "dependsOn":[
- "Only Load Keyboard",
- "Configure CMake"
- ],
- "group": {
- "kind": "build",
- "isDefault": true
- }
- },
- {
- "label": "Only Load Keyboard",
- "type": "shell",
- "command": "cmake -D QMK_KEYBOARD_FOLDER=\"${input:all_keyboards}\" -D QMK_KEYMAP_FOLDER=\"${input:keyboard_keymap}\" -P ${workspaceFolder}/cmake/ConfigureKeyboard.cmake",
- "problemMatcher": []
- },
- {
- "label": "Configure CMake",
- "type": "cmake",
- "command": "configure"
- },
- {
- "label": "Build",
- "problemMatcher": [
- {
- "base": "$gcc",
- "fileLocation": ["relative", "${workspaceFolder}/build"]
- },
- ],
- "options": {
- "environment": {
- "CLICOLOR_FORCE": "1"
- }
- },
- "type": "cmake",
- "command": "build",
- "targets":[
- "${input:keyboard_target}"
- ],
- "group": {
- "kind": "build",
- "isDefault": true
- },
- },
- // {
- // "label": "Rebuild",
- // "problemMatcher": [
- // {
- // "base": "$gcc",
- // "fileLocation": ["relative", "${workspaceFolder}/build"]
- // },
- // ],
- // "options": {
- // "environment": {
- // "CLICOLOR_FORCE": "1"
- // }
- // },
- // "type": "cmake",
- // "command": "cleanRebuild",
- // "targets":[
- // "${input:keyboard_target}"
- // ],
- // "group": {
- // "kind": "build",
- // "isDefault": true
- // },
- // }
- ],
- "inputs": [
- {
- "id": "keyboard_target",
- "type": "command",
- "command": "shellCommand.execute",
- "args": {
- "command": "type build\\targets",
- "description": "Target:",
- "fieldSeparator": "|"
- },
- },
- {
- "id": "all_keyboards",
- "type": "command",
- "command": "shellCommand.execute",
- "args": {
- "command": "type build\\all_keyboards",
- "description": "Keyboard:",
- "default": ""
- },
- },
- {
- "id": "keymap",
- "description": "Keymap:",
- "type": "pickString",
- "options":[
- "default"
- ]
- },
- {
- "id": "keyboard_keymap",
- "type": "command",
- "command": "shellCommand.execute",
- "args": {
- "command": "cmake -D QMK_KEYBOARD_FOLDER=\"${input:all_keyboards}\" -P ${workspaceFolder}/cmake/GetKeymaps.cmake && type build\\keyboard_keymaps",
- "description": "Keymap:",
- "default": ""
- },
- },
- ]
- }
|