-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathdevcontainer.json
More file actions
31 lines (31 loc) · 1 KB
/
devcontainer.json
File metadata and controls
31 lines (31 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"name": "spine dev",
"image": "mcr.microsoft.com/devcontainers/cpp:ubuntu-24.04",
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": true
},
"ghcr.io/devcontainers/features/github-cli:1": {}
},
"postCreateCommand": "sudo apt-get update && sudo apt-get install -y libsnmp-dev libmariadb-dev-compat libssl-dev libsystemd-dev pkg-config cmake ninja-build cppcheck clang-tools && cmake -G Ninja -S . -B build -DSPINE_BUILD_MAIN=ON && cmake --build build -j",
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.cpptools",
"llvm-vs-code-extensions.vscode-clangd",
"twxs.cmake",
"ms-vscode.cmake-tools",
"github.vscode-github-actions",
"github.vscode-pull-request-github"
],
"settings": {
"C_Cpp.intelliSenseEngine": "disabled",
"clangd.arguments": [
"--background-index",
"--compile-commands-dir=build"
]
}
}
},
"remoteUser": "vscode"
}