1
0
mirror of https://github.com/zeldaret/oot.git synced 2024-09-21 04:24:43 +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": [
{
"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