Skip to content

Instantly share code, notes, and snippets.

@sl
Last active April 28, 2019 03:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sl/b1b27bb6c895d1a1eaaa1c88e34778b5 to your computer and use it in GitHub Desktop.
Save sl/b1b27bb6c895d1a1eaaa1c88e34778b5 to your computer and use it in GitHub Desktop.
[Swift Complier Environment Configuration] C/C++ Configuration
"includePath": [
// the include folder under your build directory
"${workspaceFolder}/../build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/include",
"${workspaceFolder}/../build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/llvm-macosx-x86_64/include/**",
// the include folder for clang
"${workspaceFolder}/../clang/include",
// all the files in the project
"${workspaceFolder}/**",
// all files under the llvm include folder
"${workspaceFolder}/../llvm/include/**",
// the headers we just installed
"/usr/local/include/**",
"/usr/include/**",
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment