Update both C and C++ to 17, and make them consistent across targets

This commit is contained in:
Jeffery Myers
2025-01-14 16:21:54 -08:00
parent f7f6a4b656
commit 771f002318
2 changed files with 7 additions and 7 deletions

View File

@@ -14,8 +14,8 @@
"GRAPHICS_API_OPENGL_33", "GRAPHICS_API_OPENGL_33",
"PLATFORM_DESKTOP" "PLATFORM_DESKTOP"
], ],
"cStandard": "c99", "cStandard": "c17",
"cppStandard": "c++14", "cppStandard": "c++17",
"intelliSenseMode": "gcc-x64" "intelliSenseMode": "gcc-x64"
}, },
{ {
@@ -36,8 +36,8 @@
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks" "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks"
], ],
"compilerPath": "/usr/bin/clang", "compilerPath": "/usr/bin/clang",
"cStandard": "c11", "cStandard": "c17",
"cppStandard": "c++14", "cppStandard": "c++17",
"intelliSenseMode": "clang-x64" "intelliSenseMode": "clang-x64"
}, },
{ {
@@ -55,8 +55,8 @@
"PLATFORM_DESKTOP" "PLATFORM_DESKTOP"
], ],
"compilerPath": "/usr/bin/clang", "compilerPath": "/usr/bin/clang",
"cStandard": "c11", "cStandard": "c17",
"cppStandard": "c++14", "cppStandard": "c++17",
"intelliSenseMode": "clang-x64" "intelliSenseMode": "clang-x64"
} }

View File

@@ -167,7 +167,7 @@ if (downloadRaylib) then
links {"raylib"} links {"raylib"}
cdialect "C99" cdialect "C17"
cppdialect "C++17" cppdialect "C++17"
includedirs {raylib_dir .. "/src" } includedirs {raylib_dir .. "/src" }