add devcontainer configuration
This commit is contained in:
parent
ec08a449ad
commit
71ac3eac26
3 changed files with 46 additions and 0 deletions
10
.devcontainer/Dockerfile
Normal file
10
.devcontainer/Dockerfile
Normal file
|
@ -0,0 +1,10 @@
|
|||
FROM devkitpro/devkitppc:20210726
|
||||
|
||||
RUN useradd -ms /bin/bash dev \
|
||||
&& usermod -aG sudo dev
|
||||
|
||||
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
||||
|
||||
ENV PATH="${PATH}:/opt/devkitpro/devkitPPC/bin"
|
||||
|
||||
CMD ["sleep", "infinity"]
|
14
.devcontainer/devcontainer.json
Normal file
14
.devcontainer/devcontainer.json
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"name": "DevkitPPC",
|
||||
"build": {
|
||||
"dockerfile": "./Dockerfile",
|
||||
"context": "."
|
||||
},
|
||||
"overrideCommand": false,
|
||||
"remoteUser": "dev",
|
||||
"extensions": [
|
||||
"OGoodness.powerpc-syntax",
|
||||
"ms-vscode.makefile-tools",
|
||||
"ms-vscode.cpptools"
|
||||
]
|
||||
}
|
22
.vscode/c_cpp_properties.json
vendored
Normal file
22
.vscode/c_cpp_properties.json
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Linux",
|
||||
"compilerPath": "${DEVKITPPC}/bin/powerpc-eabi-cpp",
|
||||
"cppStandard": "c++11",
|
||||
"includePath": [
|
||||
"${workspaceFolder}/include/**",
|
||||
"${DEVKITPPC}/include/**",
|
||||
"${DEVKITPRO}/portlibs/wii/include/**",
|
||||
"${DEVKITPRO}/portlibs/ppc/include/**",
|
||||
"${DEVKITPRO}/libogc/include/**",
|
||||
"${DEVKITPPC}/lib/gcc/powerpc-eabi/11.1.0/include/**"
|
||||
],
|
||||
"browse": {
|
||||
"limitSymbolsToIncludedHeaders": true,
|
||||
"databaseFilename": ""
|
||||
}
|
||||
}
|
||||
],
|
||||
"version": 4
|
||||
}
|
Loading…
Reference in a new issue