Skip to content

Commit 5c5bed6

Browse files
author
Colin Robertson
authored
Merge pull request #3923 from bobbrow/patch-3
Update cmake-projects-in-visual-studio.md
2 parents 5c75f26 + c1353ac commit 5c5bed6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ When you **open a folder** containing a *`CMakeLists.txt`* file, the following t
3939
- 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.
4040

4141
> [!NOTE]
42-
> Starting in Visual Studio 2022 version 17.1 Preview 2, if your folder doesn't contain a root `CMakeLists.txt` you'll be prompted whether you'd like to enable CMake integration or not. For more information, see [CMake partial activation](#cmake-partial-activation).
42+
> Starting in Visual Studio 2022 version 17.1 Preview 2, if your top-level `CMakeLists.txt` exists in a subfolder and not at the root of the workspace, you'll be prompted whether you'd like to enable CMake integration or not. For more information, see [CMake partial activation](#cmake-partial-activation).
4343
4444
Once CMake cache generation has succeeded, you can also view your projects organized logically by targets. Choose the **Select View** button on the **Solution Explorer** toolbar. From the list in **Solution Explorer - Views**, select **CMake Targets View** and press **Enter** to open the targets view:
4545

0 commit comments

Comments
 (0)