Created
April 26, 2016 02:32
-
-
Save yongzhy/ca6ec2396ea20e5aabefab9d4e568d72 to your computer and use it in GitHub Desktop.
build YCM in msys2 environment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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