Browse Source

Merge pull request #1 from MurrayIRC/patch-1

Added a configuration for OSX
Murray Campbell 7 years ago
parent
commit
be29c13bfd
1 changed files with 22 additions and 1 deletions
  1. 22 1
      projects/VSCode/.vscode/c_cpp_properties.json

+ 22 - 1
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
-}
+}