Build.html: add note that on WSL and Cygwin Linux instructions need to be used.

GitOrigin-RevId: 587191365e852ad855e666565803c83b930d0095
This commit is contained in:
levlam 2019-06-18 03:00:32 +03:00
parent a74cda9603
commit 04934e46a9

View File

@ -460,6 +460,9 @@ function onOptionsChanged() {
var pre_text = []; var pre_text = [];
if (os_windows) { if (os_windows) {
let win10_sdk = (target === 'C++/CX' ? ' and Windows 10 SDK' : ''); let win10_sdk = (target === 'C++/CX' ? ' and Windows 10 SDK' : '');
if (target !== 'C++/CLI' && target !== 'C++/CX') {
pre_text.push('Note that Windows Subsystem for Linux (WSL) and Cygwin are not Windows environments, so you need to use instructions for Linux instead for them.');
}
pre_text.push('Download and install <a href="https://visualstudio.microsoft.com/ru/vs/community/">Microsoft Visual Studio</a>. Enable C++' + win10_sdk + ' support while installing.'); pre_text.push('Download and install <a href="https://visualstudio.microsoft.com/ru/vs/community/">Microsoft Visual Studio</a>. Enable C++' + win10_sdk + ' support while installing.');
pre_text.push('Download and install <a href="https://cmake.org/download/">CMake</a>; choose "Add CMake to the system PATH" option while installing.'); pre_text.push('Download and install <a href="https://cmake.org/download/">CMake</a>; choose "Add CMake to the system PATH" option while installing.');
pre_text.push('Download and install <a href="https://git-scm.com/download/win">Git</a>.'); pre_text.push('Download and install <a href="https://git-scm.com/download/win">Git</a>.');