Skip to content

Instantly share code, notes, and snippets.

@mhemeryck
Created August 31, 2017 19:37
Show Gist options
  • Save mhemeryck/d9c8e211ae448aae773f03022e1fcef6 to your computer and use it in GitHub Desktop.
Save mhemeryck/d9c8e211ae448aae773f03022e1fcef6 to your computer and use it in GitHub Desktop.
# Installation of YCM on mac with a homebrew python
cmake -G "Unix Makefiles" . ~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp
cmake -G "Unix Makefiles" -DPATH_TO_LLVM_ROOT=~/Downloads/clang+llvm-4.0.1-x86_64-apple-macosx10.9.0/ -DPYTHON_INCLUDE_DIR=/usr/local/Frameworks/Python.framework/Headers -DPYTHON_LIBRARY=/usr/local/Frameworks/Python.framework/Python . ~/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/
cmake --build . --target ycm_core --config Release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment