diff options
| author | Dragorn421 <Dragorn421@users.noreply.github.com> | 2024-01-31 01:20:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-30 19:20:45 -0500 |
| commit | 2beff8cbf4ec619fd25d8c4fa2678bfd88a2e4c4 (patch) | |
| tree | faf8aefeeff3d4d3e9572bf18b73a472aa0c8312 /docs | |
| parent | 8be8848f8561602eac92e0e8c3dbd15fa21c1859 (diff) | |
Fixup vscode settings (#1669)
* Fixup VSCode settings
add missing include
explicitly define OOT_DEBUG to 1
* Change configuration name
* change config name
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/vscode.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/vscode.md b/docs/vscode.md index bc4088496..2bab5a578 100644 --- a/docs/vscode.md +++ b/docs/vscode.md @@ -41,7 +41,7 @@ You can create a `.vscode/c_cpp_properties.json` file with `C/C++: Edit Configur { "configurations": [ { - "name": "Linux", + "name": "N64 oot-gc-eu-mq-dbg", "compilerPath": "${default}", // Needs to not be "" for -m32 to work "compilerArgs": [ "-m32" // Removes integer truncation warnings with gbi macros @@ -51,11 +51,12 @@ You can create a `.vscode/c_cpp_properties.json` file with `C/C++: Edit Configur "${workspaceFolder}/**", "src", "build/gc-eu-mq-dbg", - "include" + "include", + "include/libc" ], "defines": [ "_LANGUAGE_C", // For gbi.h - "OOT_DEBUG" // If targeting a debug version + "OOT_DEBUG=1" // If targeting a debug version ], "cStandard": "gnu89", // C89 + some GNU extensions from C99 like C++ comments "cppStandard": "${default}" // Only ZAPD uses C++, so doesn't really matter |
