Skip to content

Instantly share code, notes, and snippets.

@kkaefer
Created June 16, 2014 08:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kkaefer/89bf90f27ca2c93fffbb to your computer and use it in GitHub Desktop.
Save kkaefer/89bf90f27ca2c93fffbb to your computer and use it in GitHub Desktop.
Faster SublimeClang by using Xcode's libclang.dylib
#!/usr/bin/env bash
# Credits go to Dennis Luxen (https://twitter.com/DennisLuxen)
pushd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/SublimeClang/internals/
cp /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libclang.dylib .
cd ../src/build
make
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment