-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
40 lines (37 loc) · 1.55 KB
/
devcontainer.json
File metadata and controls
40 lines (37 loc) · 1.55 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
32
33
34
35
36
37
38
39
40
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.112.0/containers/cpp
{
"name": "Core development",
// Specifies where to find the Dockerfile to use.
"dockerFile": "Dockerfile",
// We add extra permissions which are needed for debugging, etc.
"runArgs": [
"--cap-add=SYS_PTRACE",
"--security-opt",
"seccomp=unconfined",
"--userns=host"
],
// Set *default* container-specific `settings.json` values on container creation.
"settings": {
"terminal.integrated.shell.linux": "/bin/zsh",
"cmake.environment": {
// We configure clang-10 as our default compiler.
"CC": "/usr/bin/clang-10",
"CXX": "/usr/bin/clang++-10"
},
// Tell the CMake extensions where to find CMake.
"cmake.cmakePath": "/usr/local/bin/cmake"
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"ms-vscode.cmake-tools",
"llvm-vs-code-extensions.vscode-clangd",
"vadimcn.vscode-lldb",
"matepek.vscode-catch2-test-adapter"
],
// Specifies where the workspace can be found in the running container.
"workspaceFolder": "/workspace/core",
// This mounts the workspace. There are several options on how to configure this, but
// we decided to checkout our repository in `$HOME/Work/PSPDFKit`.
"workspaceMount": "source=${localEnv:HOME}/Work/PSPDFKit,target=/workspace,type=bind,consistency=cached"
}