1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-10 19:20:13 +00:00

Fixup vscode settings (#1669)

* Fixup VSCode settings

add missing include
explicitly define OOT_DEBUG to 1

* Change configuration name

* change config name
This commit is contained in:
Dragorn421 2024-01-31 01:20:45 +01:00 committed by GitHub
parent 8be8848f85
commit 2beff8cbf4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -41,7 +41,7 @@ You can create a `.vscode/c_cpp_properties.json` file with `C/C++: Edit Configur
{ {
"configurations": [ "configurations": [
{ {
"name": "Linux", "name": "N64 oot-gc-eu-mq-dbg",
"compilerPath": "${default}", // Needs to not be "" for -m32 to work "compilerPath": "${default}", // Needs to not be "" for -m32 to work
"compilerArgs": [ "compilerArgs": [
"-m32" // Removes integer truncation warnings with gbi macros "-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}/**", "${workspaceFolder}/**",
"src", "src",
"build/gc-eu-mq-dbg", "build/gc-eu-mq-dbg",
"include" "include",
"include/libc"
], ],
"defines": [ "defines": [
"_LANGUAGE_C", // For gbi.h "_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 "cStandard": "gnu89", // C89 + some GNU extensions from C99 like C++ comments
"cppStandard": "${default}" // Only ZAPD uses C++, so doesn't really matter "cppStandard": "${default}" // Only ZAPD uses C++, so doesn't really matter