Skip to content

Commit 9102887

Browse files
author
Colin Robertson
authored
Merge pull request MicrosoftDocs#640 from sfreed141/patch-1
Update cmake-linux-project.md
2 parents c0f2d95 + 62f2c43 commit 9102887

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/linux/cmake-linux-project.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ When you install the Linux C++ workload for Visual Studio, CMake support for Lin
1313
This topic assumes you have basic familiarity with CMake support in Visual Studio. For more information, see [CMake Tools for Visual C++](../ide/cmake-tools-for-visual-cpp.md). For more information about CMake itself, see [Build, Test and Package Your Software With CMake](https://cmake.org/).
1414

1515
> [!NOTE]
16-
> The CMake support in Visual Studio requires the server mode support that was introduced in CMake 3.8. For a Microsoft-provided CMake variant download the latest prebuilt binaries at [https://github.com/Microsoft/CMake/releases](https://github.com/Microsoft/CMake/releases).
16+
> The CMake support in Visual Studio requires the server mode support that was introduced in CMake 3.8. For a Microsoft-provided CMake variant download the latest prebuilt binaries at [https://github.com/Microsoft/CMake/releases](https://github.com/Microsoft/CMake/releases). In Visual Studio 2019 the prebuilt binaries can be automatically deployed (see [Download prebuilt CMake binaries](#download-prebuilt-cmake-binaries)).
1717
1818
## Open a folder
1919

@@ -105,6 +105,9 @@ These options allow you to run commands on the remote box before and after build
105105

106106
Your Linux distro may have an older version of CMake. The CMake support in Visual Studio requires the server mode support that was introduced in CMake 3.8. For a Microsoft-provided CMake variant download the latest prebuilt binaries at [https://github.com/Microsoft/CMake/releases](https://github.com/Microsoft/CMake/releases).
107107

108+
**Visual Studio 2019**<br/>
109+
If a valid CMake is not found on the remote machine an infobar will appear and provide an option to automatically deploy the prebuilt CMake binaries. The binaries will be installed to `~/.vs/cmake`. After deploying the binaries, your project will automatically regenerate. Note that if the CMake specified by the `cmakeExecutable` field in `CMakeSettings.json` is invalid (doesn't exist or is an unsupported version) and the prebuilt binaries are present Visual Studio will ignore `cmakeExecutable` and use the prebuilt binaries.
110+
108111
## See Also
109112

110113
[Working with Project Properties](../ide/working-with-project-properties.md)<br/>

0 commit comments

Comments
 (0)