-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM ghcr.io/xboxdev/nxdk:latest | ||
|
||
# NOTE: curl-dev is require to workaround unknown option failure from libcurl (assumed is old version) | ||
RUN apk add build-base ninja zip unzip curl-dev curl git | ||
|
||
# Initial env variable for vcpkg path | ||
ENV VCPKG_ROOT="/usr/local/vcpkg" | ||
ENV PATH="${PATH}:${VCPKG_ROOT}" | ||
|
||
# Install vcpkg | ||
RUN git clone https://github.com/microsoft/vcpkg ${VCPKG_ROOT} \ | ||
&& ${VCPKG_ROOT}/bootstrap-vcpkg.sh | ||
|
||
# Include missing path to nxdk's bin directory. | ||
ENV PATH="${NXDK_DIR}/bin:${PATH}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"name": "Xbox Development", | ||
|
||
"build": { | ||
"dockerfile": "Dockerfile" | ||
}, | ||
|
||
// Configure tool-specific properties. | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"ms-vscode.cpptools-extension-pack", | ||
"ms-vscode.makefile-tools" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"configurations": [ | ||
{ | ||
"name": "nxdk", | ||
"includePath": [ | ||
"${default}", | ||
"${NXDK_DIR}/lib", | ||
"${NXDK_DIR}/lib/pdclib/include", | ||
"${NXDK_DIR}/lib/pdclib/platform/xbox/include", | ||
"${NXDK_DIR}/lib/winapi", | ||
"${NXDK_DIR}/lib/xboxrt/libc_extensions", | ||
"${NXDK_DIR}/lib/xboxrt/vcruntime" | ||
], | ||
"compilerArgs": [ | ||
"-fms-extensions" | ||
], | ||
"compilerPath": "${NXDK_DIR}/bin/nxdk-cc", | ||
"intelliSenseMode": "windows-clang-x86" | ||
} | ||
], | ||
"version": 4 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"C_Cpp.autoAddFileAssociations": false, | ||
"C_Cpp.default.includePath": [ | ||
"${workspaceFolder}/src" | ||
], | ||
"files.exclude": { | ||
"**/*.d": true, | ||
"**/*.obj": true | ||
} | ||
} |