From 5eded83d68f35f55ed4ff5b9a98899d3f1ffe85b Mon Sep 17 00:00:00 2001 From: Murray Campbell Date: Thu, 30 Aug 2018 09:29:37 -0500 Subject: [PATCH] Added a configuration for OSX This requires the user to explicitly specify the path to their raylib folder. We need a better way around this (something like what we do for windows would help). --- projects/VSCode/.vscode/c_cpp_properties.json | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/projects/VSCode/.vscode/c_cpp_properties.json b/projects/VSCode/.vscode/c_cpp_properties.json index 10494f677..81efa19e9 100644 --- a/projects/VSCode/.vscode/c_cpp_properties.json +++ b/projects/VSCode/.vscode/c_cpp_properties.json @@ -17,7 +17,28 @@ "cStandard": "c11", "cppStandard": "c++14", "intelliSenseMode": "clang-x64" + }, + { + "name": "Mac", + "includePath": [ + "/src/**", + "${workspaceFolder}/**" + ], + "defines": [ + "_DEBUG", + "UNICODE", + "_UNICODE", + "GRAPHICS_API_OPENGL_33", + "PLATFORM_DESKTOP" + ], + "macFrameworkPath": [ + "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks" + ], + "compilerPath": "/usr/bin/clang", + "cStandard": "c11", + "cppStandard": "c++14", + "intelliSenseMode": "clang-x64" } ], "version": 4 -} \ No newline at end of file +}