mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 16:35:33 +00:00
111 lines
2.9 KiB
JSON
111 lines
2.9 KiB
JSON
{
|
|
"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: test",
|
|
"command": "${workspaceFolder}/core/build.sh",
|
|
"args": [
|
|
"--debug",
|
|
"tests"
|
|
],
|
|
"problemMatcher": [
|
|
"$gcc"
|
|
],
|
|
"group": "test",
|
|
"detail": "run tests for core"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "ibus-keyman: configure",
|
|
"command": "./configure",
|
|
"args": [
|
|
"CPPFLAGS=\"-DG_MESSAGES_DEBUG -I${workspaceFolder}/core/build/arch/debug/include/ -I${workspaceFolder}/common/include/ -I${workspaceFolder}/core/include/\"",
|
|
"CFLAGS=\"-g -O0\"",
|
|
"CXXFLAGS=\"-g -O0\"",
|
|
"KEYMAN_PROC_LIBS=\"-L${workspaceFolder}/common/core/desktop/build/arch/debug/src -lkmnkbp0\"",
|
|
"KEYMAN_PROC_CFLAGS=\"-I${workspaceFolder}/common/core/desktop/build/arch/debug/include -I${workspaceFolder}/common/core/desktop/include\"",
|
|
"PKG_CONFIG_PATH=${workspaceFolder}/common/core/desktop/build/arch/debug/meson-private"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/linux/ibus-keyman"
|
|
},
|
|
"problemMatcher": [
|
|
{
|
|
"base": "$gcc",
|
|
"fileLocation": [
|
|
"relative",
|
|
"${workspaceFolder}/linux/ibus-keyman/src/"
|
|
],
|
|
}
|
|
],
|
|
"group": "build",
|
|
"detail": "configure ibus-keyman"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "ibus-keyman: build",
|
|
"command": "make",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/linux/ibus-keyman",
|
|
},
|
|
"problemMatcher": [
|
|
{
|
|
"base": "$gcc",
|
|
"fileLocation": [
|
|
"relative",
|
|
"${workspaceFolder}/linux/ibus-keyman/src/"
|
|
],
|
|
}
|
|
],
|
|
"group": "build",
|
|
"detail": "build ibus-keyman"
|
|
},
|
|
]
|
|
}
|