Skip to content

Commit 122944b

Browse files
committed
Final changes
1 parent 39b18f9 commit 122944b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/build/cmake-projects-in-visual-studio.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ When you choose **File > Open > Folder** to open a folder containing a *`CMakeLi
293293

294294
- In the background, Visual Studio starts to index the source files to enable IntelliSense, browsing information, refactoring, and so on. As you work, Visual Studio monitors changes in the editor and also on disk to keep its index in sync with the sources.
295295

296-
You can open folders containing any number of CMake projects. Visual Studio detects and configures all the *root* *`CMakeLists.txt`* files in your workspace. CMake operations (configure, build, debug), C++ IntelliSense, and browsing are available to all CMake projects in your workspace.
296+
You can open folders containing any number of CMake projects. Visual Studio detects and configures all the top-level *`CMakeLists.txt`* files in your workspace. CMake operations (configure, build, debug), C++ IntelliSense, and browsing are available to all CMake projects in your workspace.
297297

298298
:::image type="complex" source="media/cmake-multiple-roots.png" alt-text="Screenshot of the Visual Studio Solution Explorer.":::
299299
The files and folders of a C Make project are visible. There's a tests subdirectory, CMakeLists.txt, and hello.cpp. There's a hello-cmake-vcpkg folder that contains CMakeLists.txt, CMakeSettings.json, and hello.cpp.
@@ -336,7 +336,7 @@ Not everything in the cache is imported. Properties such as the generator and th
336336

337337
To build a CMake project, you have these choices:
338338

339-
1. In the General toolbar, find the **Configurations** dropdown. It's probably showing *Linux-Debug* or *x64-Debug* by default. Select the preferred configuration and press **F5**, or choose the **Run** (green triangle) button on the toolbar. The project automatically builds first, just like a Visual Studio solution.
339+
1. In the General toolbar, find the **Configurations** dropdown. It's probably showing **Linux-Debug** or **x64-Debug** by default. Select the preferred configuration and press **F5**, or choose the **Run** (green triangle) button on the toolbar. The project automatically builds first, just like a Visual Studio solution.
340340

341341
1. Right-click on *`CMakeLists.txt`* in **Solution Explorer** and select **Build** from the context menu. If you have multiple targets in your folder structure, you can choose to build all or only one specific target.
342342

0 commit comments

Comments
 (0)