Pārlūkot izejas kodu

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).
pull/637/head
Murray Campbell pirms 6 gadiem
committed by GitHub
vecāks
revīzija
5eded83d68
Šim parakstam datu bāzē netika atrasta zināma atslēga GPG atslēgas ID: 4AEE18F83AFDEB23
1 mainītis faili ar 22 papildinājumiem un 1 dzēšanām
  1. +22
    -1
      projects/VSCode/.vscode/c_cpp_properties.json

+ 22
- 1
projects/VSCode/.vscode/c_cpp_properties.json Parādīt failu

@ -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
}
}

Notiek ielāde…
Atcelt
Saglabāt