diff options
| author | Murray Campbell <MurrayIRC@gmail.com> | 2018-08-30 09:29:37 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-30 09:29:37 -0500 |
| commit | 5eded83d68f35f55ed4ff5b9a98899d3f1ffe85b (patch) | |
| tree | 184c0d2f0e8dc9a1339fef813a635113cc91f81f /projects/VSCode | |
| parent | adf08c88ea4b065a36bf76143a6b42cfce1601de (diff) | |
| download | raylib-5eded83d68f35f55ed4ff5b9a98899d3f1ffe85b.tar.gz raylib-5eded83d68f35f55ed4ff5b9a98899d3f1ffe85b.zip | |
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).
Diffstat (limited to 'projects/VSCode')
| -rw-r--r-- | projects/VSCode/.vscode/c_cpp_properties.json | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/projects/VSCode/.vscode/c_cpp_properties.json b/projects/VSCode/.vscode/c_cpp_properties.json index 10494f67..81efa19e 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": [ + "<path_to_raylib>/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 +} |
