update template

This commit is contained in:
Maxim Slipenko 2023-10-24 17:34:40 +03:00
parent 211a58f1aa
commit dc7c5150dc
3 changed files with 5 additions and 24 deletions

View File

@ -1,32 +1,12 @@
{ {
"name": "C++", "name": "C++",
"build": { "image": "ghcr.io/maks1ms/win32api-linux-dev-ru-devcontainer",
"dockerfile": "Dockerfile"
},
"runArgs": [ "runArgs": [
"--cap-add=SYS_PTRACE", "--cap-add=SYS_PTRACE",
"--security-opt", "--security-opt",
"seccomp=unconfined" "seccomp=unconfined"
], ],
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": "true",
"username": "vscode",
"userUid": "1000",
"userGid": "1000"
},
"ghcr.io/maks1ms/devcontainers-features/wine:0": {},
"ghcr.io/devcontainers/features/desktop-lite:1": {}
},
"customizations": {
"vscode": {
"settings": {},
"extensions": [
"ms-vscode.cpptools-extension-pack",
"xaver.clang-format"
]
}
},
"forwardPorts": [ "forwardPorts": [
6080 6080
], ],

View File

@ -3,7 +3,8 @@
"name": "GCC 8.3-posix (i686-w64-mingw32)", "name": "GCC 8.3-posix (i686-w64-mingw32)",
"compilers": { "compilers": {
"C": "i686-w64-mingw32-gcc-posix", "C": "i686-w64-mingw32-gcc-posix",
"CXX": "i686-w64-mingw32-g++-posix" "CXX": "i686-w64-mingw32-g++-posix",
"RC": "i686-w64-mingw32-windres"
} }
} }
] ]

2
.vscode/launch.json vendored
View File

@ -14,7 +14,7 @@
"debugServerArgs": "Z:/usr/share/win32/gdbserver.exe localhost:1111 ${command:cmake.launchTargetPath} ${command:cmake.launchTargetPath} arg1 arg2", "debugServerArgs": "Z:/usr/share/win32/gdbserver.exe localhost:1111 ${command:cmake.launchTargetPath} ${command:cmake.launchTargetPath} arg1 arg2",
"miDebuggerServerAddress": "localhost:1111", "miDebuggerServerAddress": "localhost:1111",
"serverStarted":"Listening\\ on\\ port\\ \\d*", "serverStarted":"Listening\\ on\\ port\\ \\d*",
"debugServerPath": "/usr/bin/wine", "debugServerPath": "${workspaceFolder}/.vscode/wine-ru_RU.cp1251",
"filterStderr":true, "filterStderr":true,
"filterStdout":false, "filterStdout":false,
"logging": { "logging": {