Skip to content

Commit e57b692

Browse files
authored
Clarify that ninja is only required for CMake projects
Since this documentation applies to all Linux/WSL projects, I've clarified that the dependency on ninja-build only applies to CMake projects.
1 parent 99d5b4a commit e57b692

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docs/linux/download-install-and-setup-the-linux-development-workload.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Linux projects in Visual Studio require the following dependencies to be install
5757
- **make**
5858
- **openssh-server** (remote Linux systems only) - Visual Studio connects to remote Linux systems over a secure SSH connection.
5959
- **CMake** (CMake projects only) - You can install Microsoft's [statically linked CMake binaries for Linux](https://github.com/microsoft/CMake/releases).
60-
- **ninja-build** - [Ninja](https://ninja-build.org/) is the default generator for Linux and WSL configurations in Visual Studio 2019 version 16.6 or later.
60+
- **ninja-build** (CMake projects only)- [Ninja](https://ninja-build.org/) is the default generator for Linux and WSL configurations in Visual Studio 2019 version 16.6 or later.
6161

6262
The following commands assume you are using g++ instead of clang.
6363

@@ -80,7 +80,7 @@ Linux projects in Visual Studio require the following dependencies to be install
8080

8181
## Linux setup: Ubuntu on WSL
8282

83-
When you are targeting WSL, there is no need to add a remote connection or configure SSH in order to build and debug. **zip** and **rsync** are required for automatic syncing of Linux headers with Visual Studio for Intellisense support. If the required applications are not already present, you can install them as follows:
83+
When you are targeting WSL, there is no need to add a remote connection or configure SSH in order to build and debug. **zip** and **rsync** are required for automatic syncing of Linux headers with Visual Studio for Intellisense support. If the required applications are not already present, you can install them as follows. **ninja-build** is only required for CMake projects.
8484

8585
```bash
8686
sudo apt-get install g++ gdb make ninja-build rsync zip
@@ -92,7 +92,7 @@ sudo apt-get install g++ gdb make ninja-build rsync zip
9292

9393
## Ubuntu on remote Linux systems
9494

95-
The target Linux system must have **openssh-server**, **g++**, **gdb**, **ninja-build**, and **make** installed, and the ssh daemon must be running. **zip** and **rsync** are required for automatic syncing of remote headers with your local machine for Intellisense support. If these applications are not already present, you can install them as follows:
95+
The target Linux system must have **openssh-server**, **g++**, **gdb**, **ninja-build** (CMake projects only), and **make** installed, and the ssh daemon must be running. **zip** and **rsync** are required for automatic syncing of remote headers with your local machine for Intellisense support. If these applications are not already present, you can install them as follows:
9696

9797
1. At a shell prompt on your Linux computer, run:
9898

@@ -122,15 +122,15 @@ Fedora uses the **dnf** package installer. To download **g++**, **gdb**, **make*
122122
sudo dnf install gcc-g++ gdb rsync ninja-build make zip
123123
```
124124

125-
**zip** and **rsync** are required for automatic syncing of Linux headers with Visual Studio for Intellisense support.
125+
**zip** and **rsync** are required for automatic syncing of Linux headers with Visual Studio for Intellisense support. **ninja-build** is only required for CMake projects.
126126

127127
::: moniker-end
128128

129129
::: moniker range=">=vs-2017"
130130

131131
## Fedora on remote Linux systems
132132

133-
The target machine running Fedora uses the **dnf** package installer. To download **openssh-server**, **g++**, **gdb**, **make**, **ninja-build**, **rsync**, and **zip**, and restart the ssh daemon, follow these instructions:
133+
The target machine running Fedora uses the **dnf** package installer. To download **openssh-server**, **g++**, **gdb**, **make**, **ninja-build**, **rsync**, and **zip**, and restart the ssh daemon, follow these instructions. **ninja-build** is only required for CMake projects.
134134

135135
1. At a shell prompt on your Linux computer, run:
136136

0 commit comments

Comments
 (0)