Update both C and C++ to 17, and make them consistent across targets
This commit is contained in:
12
.vscode/c_cpp_properties.json
vendored
12
.vscode/c_cpp_properties.json
vendored
@@ -14,8 +14,8 @@
|
||||
"GRAPHICS_API_OPENGL_33",
|
||||
"PLATFORM_DESKTOP"
|
||||
],
|
||||
"cStandard": "c99",
|
||||
"cppStandard": "c++14",
|
||||
"cStandard": "c17",
|
||||
"cppStandard": "c++17",
|
||||
"intelliSenseMode": "gcc-x64"
|
||||
},
|
||||
{
|
||||
@@ -36,8 +36,8 @@
|
||||
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks"
|
||||
],
|
||||
"compilerPath": "/usr/bin/clang",
|
||||
"cStandard": "c11",
|
||||
"cppStandard": "c++14",
|
||||
"cStandard": "c17",
|
||||
"cppStandard": "c++17",
|
||||
"intelliSenseMode": "clang-x64"
|
||||
},
|
||||
{
|
||||
@@ -55,8 +55,8 @@
|
||||
"PLATFORM_DESKTOP"
|
||||
],
|
||||
"compilerPath": "/usr/bin/clang",
|
||||
"cStandard": "c11",
|
||||
"cppStandard": "c++14",
|
||||
"cStandard": "c17",
|
||||
"cppStandard": "c++17",
|
||||
"intelliSenseMode": "clang-x64"
|
||||
|
||||
}
|
||||
|
||||
@@ -167,7 +167,7 @@ if (downloadRaylib) then
|
||||
|
||||
links {"raylib"}
|
||||
|
||||
cdialect "C99"
|
||||
cdialect "C17"
|
||||
cppdialect "C++17"
|
||||
|
||||
includedirs {raylib_dir .. "/src" }
|
||||
|
||||
Reference in New Issue
Block a user