Skip to content

Instantly share code, notes, and snippets.

@yongzhy
Created April 26, 2016 02:32
Show Gist options
  • Save yongzhy/ca6ec2396ea20e5aabefab9d4e568d72 to your computer and use it in GitHub Desktop.
Save yongzhy/ca6ec2396ea20e5aabefab9d4e568d72 to your computer and use it in GitHub Desktop.
build YCM in msys2 environment
$ pacman -S mingw-w64-x86_64-clang mingw-w64-x86_64-cmake mingw-w64-x86_64-gcc mingw-w64-x86_64-gdb winpty
$ cmake -G "Unix Makefiles" -DUSE_SYSTEM_LIBCLANG=ON -DPYTHON_INCLUDE_DIR=/mingw64/include/python2.7 -DPYTHON_LIBRARY=/mingw64/lib/libpython2.7.dll.a . ../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