Update c_cpp_properties.json for VSCode (#2033)

This commit is contained in:
Dragorn421
2024-08-12 01:34:05 +02:00
committed by GitHub
parent 8df87038a0
commit dd48d34270
2 changed files with 164 additions and 14 deletions
+2 -3
View File
@@ -46,11 +46,9 @@ A more complete `c_cpp_properties.json` with configurations for all supported ve
"configurations": [
{
"name": "oot-gc-eu-mq-dbg",
"compilerPath": "${default}", // Needs to not be "" for -m32 to work
"compilerArgs": [
"-m32" // Removes integer truncation warnings with gbi macros
],
"intelliSenseMode": "${default}", // Shouldn't matter
"includePath": [ // Matches makefile's includes
"include",
"include/libc",
@@ -64,6 +62,8 @@ A more complete `c_cpp_properties.json` with configurations for all supported ve
// Version-specific
"OOT_VERSION=OOT_GC_EU_MQ_DBG",
"OOT_REGION=REGION_EU",
"PLATFORM_N64=0",
"PLATFORM_GC=1",
"OOT_PAL=1",
"OOT_MQ=1",
"OOT_DEBUG=1",
@@ -73,7 +73,6 @@ A more complete `c_cpp_properties.json` with configurations for all supported ve
"GBI_DEBUG"
],
"cStandard": "gnu89", // C89 + some GNU extensions from C99 like C++ comments
"cppStandard": "${default}" // Only ZAPD uses C++, so doesn't really matter
}
],
"version": 4