{ "version": "2.0.0", "tasks": [ { "type": "shell", "label": "core: build", "command": "${workspaceFolder}/core/build.sh", "args": [ "--debug" ], "options": { "cwd": "${workspaceFolder}/core" }, "problemMatcher": [ { "owner": "cpp", "source": "compiler", "fileLocation": [ "relative", "${workspaceFolder}/core/" ], "pattern": [ { "regexp": "^../../../(.*):(\\d+):(\\d+):\\s+(warning|error|note):\\s+(.*)(\\s+\\[.*\\])?$", "file": 1, "line": 2, "column": 3, "severity": 4, "message": 5 } ] }, { "owner": "cpp", "source": "linker", "fileLocation": "absolute", "pattern": [ { "regexp": "^(/usr/bin/ld:\\s+)?(.*):(\\d+):\\s+(.*)$", "file": 2, "location": 3, "message": 4 } ] } ], "group": "build", "detail": "build core" }, { "type": "shell", "label": "core: configure", "command": "${workspaceFolder}/core/build.sh", "args": [ "--debug", "configure", ], "options": { "cwd": "${workspaceFolder}/core", }, "presentation": { "clear": true }, "group": "build", "detail": "configure core" }, { "type": "shell", "label": "core: configure+build", "command": "${workspaceFolder}/core/build.sh", "args": [ "--debug", "configure", "build", "tests" ], "options": { "cwd": "${workspaceFolder}/core" }, "problemMatcher": [ { "owner": "cpp", "source": "compiler", "fileLocation": [ "relative", "${workspaceFolder}/core/" ], "pattern": [ { "regexp": "^../../../(.*):(\\d+):(\\d+):\\s+(warning|error|note):\\s+(.*)(\\s+\\[.*\\])?$", "file": 1, "line": 2, "column": 3, "severity": 4, "message": 5 } ] }, { "owner": "cpp", "source": "linker", "fileLocation": "absolute", "pattern": [ { "regexp": "^(/usr/bin/ld:\\s+)?(.*):(\\d+):\\s+(.*)$", "file": 2, "location": 3, "message": 4 } ] }, ], "presentation": { "clear": true }, "group": "build", "detail": "build core" }, { "type": "shell", "label": "core: test", "command": "${workspaceFolder}/core/build.sh", "args": [ "--debug", "tests" ], "problemMatcher": [ "$gcc" ], "group": "test", "detail": "run tests for core" }, { "type": "shell", "label": "ibus-keyman: clean", "command": "./build.sh", "args": ["clean", "--debug"], "options": { "cwd": "${workspaceFolder}/linux/ibus-keyman" }, "group": "build", "detail": "clean ibus-keyman" }, { "type": "shell", "label": "ibus-keyman: configure", "command": "./build.sh", "args": ["configure", "--debug"], "options": { "cwd": "${workspaceFolder}/linux/ibus-keyman", "env": { "CPPFLAGS": "-DG_MESSAGES_DEBUG -I${workspaceFolder}/core/build/arch/debug/include/ -I${workspaceFolder}/core/include/ -I/home/eberhard/Develop/keyman/ibus/ibus/src -I${workspaceFolder}/common/include", "CFLAGS": "-g -O0", "CXXFLAGS": "-g -O0", "KEYMAN_PROC_LIBS": "-L${workspaceFolder}/core/build/arch/debug/src -lkmnkbp0", "KEYMAN_PROC_CFLAGS": "-I${workspaceFolder}/core/build/arch/debug/include -I${workspaceFolder}/core/include -I${workspaceFolder}/common/include", "PKG_CONFIG_PATH": "${workspaceFolder}/core/build/arch/debug/meson-private" }, }, "dependsOn":["ibus-keyman: clean"], "group": "build", "detail": "configure ibus-keyman" }, { "type": "shell", "label": "ibus-keyman: build", "command": "./build.sh", "args": [ "build", "--debug" ], "options": { "cwd": "${workspaceFolder}/linux/ibus-keyman/", }, "problemMatcher": [ { "base": "$gcc", "fileLocation": [ "relative", "${workspaceFolder}/linux/build/x86_64/release" ], } ], "group": "build", "detail": "build ibus-keyman" }, { "type": "shell", "label": "ibus-keyman: test", "command": "./build.sh", "args": ["test", "--debug"], "options": { "cwd": "${workspaceFolder}/linux/ibus-keyman/", }, "group": "build", "detail": "run tests of ibus-keyman" }, { "type": "shell", "label": "keyman-config: tests", "command": "${workspaceFolder}/linux/keyman-config/run-tests.sh", "options": { "cwd": "${workspaceFolder}/linux/keyman-config", }, "group": "test", "detail": "unit test keyman-config" }, ] }