From 2beff8cbf4ec619fd25d8c4fa2678bfd88a2e4c4 Mon Sep 17 00:00:00 2001 From: Dragorn421 Date: Wed, 31 Jan 2024 01:20:45 +0100 Subject: [PATCH] Fixup vscode settings (#1669) * Fixup VSCode settings add missing include explicitly define OOT_DEBUG to 1 * Change configuration name * change config name --- docs/vscode.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/vscode.md b/docs/vscode.md index bc4088496c..2bab5a578c 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