Skip to content

Commit 68ef0d7

Browse files
Tyler WhitneyTyler Whitney
authored andcommitted
edits
1 parent b09073d commit 68ef0d7

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

docs/linux/cmake-linux-project.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Create a CMake Linux project in Visual Studio"
33
description: "How to create a Linux CMake project in Visual Studio"
4-
ms.date: "08/05/2020"
4+
ms.date: "08/06/2020"
55
ms.assetid: f8707b32-f90d-494d-ae0b-1d44425fdc25
66
---
77
# Create a CMake Linux project in Visual Studio
@@ -16,8 +16,6 @@ Linux support is available in Visual Studio 2017 and later. To see the documenta
1616

1717
We recommend you use CMake for projects that are cross-platform or you think you might make open-source. You can use CMake projects to build and debug the same source code on Windows, the Windows Subsystem for Linux (WSL), and remote systems.
1818

19-
This is the first article in a series that describes how to create a new CMake project, configure it, and then build and debug on a remote Linux system or WSL.
20-
2119
## Before you begin
2220

2321
First, make sure you have the Visual Studio Linux workload installed, including the CMake component. That's the **Linux development with C++** workload in the Visual Studio installer. See [Install the C++ Linux workload in Visual Studio](download-install-and-setup-the-linux-development-workload.md) if you aren't sure you have that installed.
@@ -35,6 +33,8 @@ Also, make sure the following are installed on the remote machine:
3533
The CMake support in Visual Studio requires server mode support 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).
3634

3735
The binaries are installed in `~/.vs/cmake`. After deploying the binaries, your project automatically regenerates. If the CMake specified by the `cmakeExecutable` field in *CMakeSettings.json* is invalid (it doesn't exist or is an unsupported version), and the prebuilt binaries are present, Visual Studio ignores `cmakeExecutable` and uses the prebuilt binaries.
36+
37+
Visual Studio 2017 can't create a CMake project from scratch, but you can open a folder that contains an existing CMake project, as described in the next section.
3838
::: moniker-end
3939

4040
::: moniker range=">=vs-2019"
@@ -61,7 +61,7 @@ Alternatively, you can open your own CMake project in Visual Studio 2019. The fo
6161

6262
When you open a folder that contains an existing CMake project, Visual Studio uses variables in the CMake cache to automatically configure IntelliSense and builds. Local configuration and debugging settings get stored in JSON files. You can optionally share these files with others who are using Visual Studio.
6363

64-
Visual Studio doesn't modify the *CMakeLists.txt* files. It's left alone so that others working on the same project can continue to use their existing tools. Visual Studio does regenerate the cache when you save edits to *CMakeLists.txt* or in some cases to *CMakeSettings.json*. But if you're using an **Existing Cache** configuration, then Visual Studio doesn't modify the cache.
64+
Visual Studio doesn't modify the *CMakeLists.txt* files. This allows others working on the same project to continue to use their existing tools. Visual Studio does regenerate the cache when you save edits to *CMakeLists.txt*, or in some cases, to *CMakeSettings.json*. If you're using an **Existing Cache** configuration, then Visual Studio doesn't modify the cache.
6565

6666
For general information about CMake support in Visual Studio, see [CMake projects in Visual Studio](../build/cmake-projects-in-visual-studio.md). Read that before continuing here.
6767

@@ -90,7 +90,7 @@ add_executable(hello-cmake hello.cpp)
9090

9191
## Next steps
9292

93-
[Configure a CMake Linux project](cmake-linux-configure.md)
93+
[Configure a Linux CMake project](cmake-linux-configure.md)
9494

9595
## See also
9696

docs/linux/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
href: ../linux/connectionmanager-reference.md
1313
- name: Build Linux projects with MSBuild in Visual Studio
1414
items:
15-
- name: Create a MSBuild Linux project
15+
- name: Create a Linux MSBuild project
1616
href: ../linux/create-a-new-linux-project.md
1717
- name: Configure a Linux MSBuild project
1818
href: ../linux/configure-a-linux-project.md

0 commit comments

Comments
 (0)