Skip to content

Commit 3a5e772

Browse files
authored
Merge pull request #3250 from esweet431/master
Use make instead of Ninja
2 parents c2547c1 + 4052cce commit 3a5e772

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/build/get-started-linux-cmake.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ In this tutorial, you learn how to:
2525

2626
* Set up a Linux machine for Cross Platform C++ Development
2727
* Visual Studio doesn't require any specific distribution of Linux. The OS can be running on a physical machine, in a VM, or in the cloud. You could also use the Windows Subsystem for Linux (WSL). However, for this tutorial a graphical environment is required. WSL isn't recommended here, because it's intended primarily for command-line operations.
28-
* Visual Studio requires these tools on the Linux machine: C++ compilers, gdb, ssh, rsync, ninja, and zip. On Debian-based systems, you can use this command to install these dependencies:
28+
* Visual Studio requires these tools on the Linux machine: C++ compilers, gdb, ssh, rsync, make, and zip. On Debian-based systems, you can use this command to install these dependencies:
2929

3030
```cmd
31-
sudo apt install -y openssh-server build-essential gdb rsync ninja-build zip
31+
sudo apt install -y openssh-server build-essential gdb rsync make zip
3232
```
3333
3434
* Visual Studio requires a recent version of CMake on the Linux machine that has server mode enabled (at least 3.8). Microsoft produces a universal build of CMake that you can install on any Linux distro. We recommend you use this build to ensure that you have the latest features. You can get the CMake binaries from [the Microsoft fork of the CMake repo](https://github.com/Microsoft/CMake/releases) on GitHub. Go to that page and download the version that matches the system architecture on your Linux machine, then mark it as an executable:
@@ -139,6 +139,8 @@ In this step, we'll debug an example program that demonstrates the Bullet Physic
139139

140140
1. Add a Linux configuration. Right-click the CMakeSettings.json file in the **Solution Explorer** view and select **Add Configuration**. You see the same Add Configuration to CMakeSettings dialog as before. Select **Linux-Debug** this time, then save the CMakeSettings.json file (ctrl + s).
141141

142+
1. **Visual Studio 2019 version 16.6 or later** Scroll down to the bottom of the CMake Settings Editor and select **Show advanced settings**. Select **Unix Makefiles** as the **CMake generator**, then save the CMakeSettings.json file (ctrl + s).
143+
142144
1. Select **Linux-Debug** in the configuration drop-down.
143145

144146
![Launch configuration drop-down with X64-Debug and Linux-Debug options](media/cmake-bullet3-linux-configuration-item.png)

0 commit comments

Comments
 (0)