From 1efcfe4c48b2400de833fb062874a773f9444d5d Mon Sep 17 00:00:00 2001 From: micbou Date: Wed, 24 Apr 2019 00:13:10 +0200 Subject: [PATCH] Instruct installing Visual Studio Build Tools 2017 Visual Studio Build Tools is sufficient to build YCM. Version 2019 is not yet supported. --- README.md | 11 ++++++----- doc/youcompleteme.txt | 10 +++++----- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 501a5251..3071e40c 100644 --- a/README.md +++ b/README.md @@ -392,8 +392,8 @@ Download and install the following software: number exactly. - [CMake][cmake-download]. Add CMake executable to the PATH environment variable. -- [Visual Studio][visual-studio-download]. Download the community edition. - During setup, select _Desktop development with C++_ in _Workloads_. +- [Visual Studio Build Tools 2017][visual-studio-download]. During setup, + select _Visual C++ build tools_ in _Workloads_. Compiling YCM **with** semantic support for C-family languages through **libclang**: @@ -626,8 +626,9 @@ process. On Windows, you need to download and install [Python 2 or Python 3][python-win-download]. Pick the version corresponding to your Vim architecture. You will also need Microsoft Visual C++ (MSVC) to build YCM. - You can obtain it by installing [Visual Studio][visual-studio-download]. - MSVC 14 (Visual Studio 2015) and 15 (2017) are officially supported. + You can obtain it by installing [Visual Studio Build + Tools][visual-studio-download]. MSVC 14 (Visual Studio 2015) and 15 (2017) + are officially supported. Here we'll assume you installed YCM with Vundle. That means that the top-level YCM directory is in `~/.vim/bundle/YouCompleteMe`. @@ -3629,7 +3630,7 @@ This software is licensed under the [GPL v3 license][gpl]. [tsconfig.json]: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html [vim-win-download]: https://github.com/vim/vim-win32-installer/releases [python-win-download]: https://www.python.org/downloads/windows/ -[visual-studio-download]: https://www.visualstudio.com/downloads/ +[visual-studio-download]: https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=BuildTools&rel=15 [7z-download]: http://www.7-zip.org/download.html [mono-install-osx]: http://www.mono-project.com/docs/getting-started/install/mac/ [mono-install-linux]: https://www.mono-project.com/download/stable/#download-lin diff --git a/doc/youcompleteme.txt b/doc/youcompleteme.txt index 28fa5002..7f1182a2 100644 --- a/doc/youcompleteme.txt +++ b/doc/youcompleteme.txt @@ -600,8 +600,8 @@ Download and install the following software: - CMake [27]. Add CMake executable to the PATH environment variable. -- Visual Studio [38]. Download the community edition. During setup, select - _Desktop development with C++_ in _Workloads_. +- Visual Studio Build Tools 2017 [38]. During setup, select _Visual C++ build + tools_ in _Workloads_. Compiling YCM **with** semantic support for C-family languages through **libclang**: @@ -840,8 +840,8 @@ will notify you to recompile it. You should then rerun the install process. On Windows, you need to download and install Python 2 or Python 3 [37]. Pick the version corresponding to your Vim architecture. You will also need Microsoft Visual C++ (MSVC) to build YCM. You can obtain it by - installing Visual Studio [38]. MSVC 14 (Visual Studio 2015) and 15 (2017) - are officially supported. + installing Visual Studio Build Tools [38]. MSVC 14 (Visual Studio 2015) + and 15 (2017) are officially supported. Here we'll assume you installed YCM with Vundle. That means that the top-level YCM directory is in '~/.vim/bundle/YouCompleteMe'. @@ -3884,7 +3884,7 @@ References ~ [35] https://github.com/vim/vim-win32-installer/releases [36] http://vimhelp.appspot.com/starting.txt.html#vimrc [37] https://www.python.org/downloads/windows/ -[38] https://www.visualstudio.com/downloads/ +[38] https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=BuildTools&rel=15 [39] http://stackoverflow.com/questions/6319274/how-do-i-run-msbuild-from-the-command-line-using-windows-sdk-7-1 [40] https://github.com/tpope/vim-pathogen#pathogenvim [41] http://llvm.org/releases/download.html