Skip to content
This repository was archived by the owner on Apr 19, 2023. It is now read-only.

Commit e9a62d8

Browse files
author
Iason Nikolas
committed
Update devcontainer.json
1 parent 46b268c commit e9a62d8

File tree

2 files changed

+33
-24
lines changed

2 files changed

+33
-24
lines changed

.devcontainer/devcontainer.json

Lines changed: 31 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"name": "C++",
55
"build": {
6-
"dockerfile": "Dockerfile",
6+
"dockerfile": "Dockerfile"
77
// Update 'VARIANT' to pick an Ubuntu OS version. Options: [bionic, focal, jammy]. Default: jammy
88
// Update 'GCC_VER' to pick a gcc and g++ version. Options: [7, 8, 9, 10, 11, 12]. Default: 12
99
// Update 'LLVM_VER' to pick clang version. Options: [10, 11, 12, 13, 14, 15]. Default: 15
@@ -19,34 +19,44 @@
1919
"--security-opt",
2020
"seccomp=unconfined"
2121
],
22-
// Set *default* container specific settings.json values on container create.
23-
"settings": {
24-
"cmake.configureOnOpen": true,
25-
"editor.formatOnSave": true
22+
// Configure tool-specific properties.
23+
"customizations": {
24+
// Configure properties specific to VS Code.
25+
"vscode": {
26+
// Set *default* container specific settings.json values on container create.
27+
"settings": {
28+
"cmake.configureOnOpen": true,
29+
"editor.formatOnSave": true
30+
},
31+
// Add the IDs of extensions you want installed when the container is created.
32+
"extensions": [
33+
"ms-vscode.cpptools",
34+
"ms-vscode.cmake-tools",
35+
"twxs.cmake",
36+
"ms-vscode.cpptools-themes",
37+
"cschlosser.doxdocgen",
38+
"eamodio.gitlens",
39+
"ms-python.python",
40+
"ms-python.vscode-pylance",
41+
"mutantdino.resourcemonitor"
42+
]
43+
}
2644
},
27-
// Add the IDs of extensions you want installed when the container is created.
28-
"extensions": [
29-
"ms-vscode.cpptools",
30-
"ms-vscode.cmake-tools",
31-
"twxs.cmake",
32-
"ms-vscode.cpptools-themes",
33-
"cschlosser.doxdocgen",
34-
"eamodio.gitlens",
35-
"ms-python.python",
36-
"ms-python.vscode-pylance",
37-
"mutantdino.resourcemonitor"
38-
],
3945
// Use 'forwardPorts' to make a list of ports inside the container available locally.
4046
// "forwardPorts": [],
4147
// Use 'postCreateCommand' to run commands after the container is created.
42-
//"postCreateCommand": "uname -a",
48+
"postCreateCommand": {
49+
"uname": "uname -a",
50+
"gcc": "gcc -v",
51+
"clang": "clang -v"
52+
},
4353
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
4454
//"remoteUser": "vscode",
4555
"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/${localWorkspaceFolderBasename},type=bind,consistency=delegated",
4656
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
4757
"features": {
48-
"git": "latest",
49-
"git-lfs": "latest",
50-
"powershell": "latest"
58+
"ghcr.io/devcontainers/features/git:1": {},
59+
"ghcr.io/devcontainers/features/git-lfs:1": {},
60+
"ghcr.io/devcontainers/features/powershell:1": {}
5161
}
5262
}

conanfile.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22

33
[requires]
44
catch2/2.13.9
5-
cli11/2.3.1
6-
spdlog/1.11.0
7-
zlib/1.2.13
5+
cli11/2.2.0
6+
spdlog/1.10.0
87

98
[generators]
109
cmake_find_package_multi

0 commit comments

Comments
 (0)