150d69bd57
This adds a `b2::system_info` class to obtain available information on system we are running in. Currently provides CPU counts. And currently only implemented for macOS.
64 lines
1.8 KiB
JSON
64 lines
1.8 KiB
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "B2 Engine Build",
|
|
"type": "shell",
|
|
"windows": {
|
|
"command": "build.bat"
|
|
},
|
|
"osx": {
|
|
"command": "./build.sh"
|
|
},
|
|
"linux": {
|
|
"command": "./build.sh"
|
|
},
|
|
"options": {
|
|
"cwd": "src/engine"
|
|
},
|
|
"problemMatcher": {
|
|
"owner": "cpptools",
|
|
"fileLocation": [
|
|
"relative",
|
|
"${workspaceFolder}/src/engine"
|
|
],
|
|
"pattern": {
|
|
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"severity": 4,
|
|
"message": 5
|
|
}
|
|
},
|
|
"group": "build"
|
|
},
|
|
{
|
|
"label": "B2 Engine Infer",
|
|
"type": "shell",
|
|
"osx": {
|
|
"command": "CXX='infer run -- clang++' ./build.sh clang"
|
|
},
|
|
"options": {
|
|
"cwd": "src/engine"
|
|
},
|
|
"problemMatcher": {
|
|
"owner": "cpptools",
|
|
"fileLocation": [
|
|
"relative",
|
|
"${workspaceFolder}/src/engine"
|
|
],
|
|
"pattern": {
|
|
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"severity": 4,
|
|
"message": 5
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |