Skip to content

Commit e1a3f20

Browse files
authored
Merge pull request #5823 from MicrosoftDocs/main
3/07/2025 AM Publish
2 parents 0df252d + 580fdf8 commit e1a3f20

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@ By default, most configuration messages are suppressed unless there's an error.
8888

8989
You can also disable all CMake cache notifications (gold bars) by deselecting **Show CMake cache notification**.
9090

91+
### Customize Targets View source groups
92+
93+
By default, the CMake Targets View ignores the following source groups: "Source Files", "Header Files", "Resources", "Object Files". This is because they are included by default in most CMake projects and it would unnecessarily increase the number of clicks required to navigate the Targets View.
94+
95+
Enable the use of these source groups by enabling **Tools** > **Options** > **CMake** > **Enable the use of ignored source groups in CMake Targets View**.
96+
9197
### Troubleshooting CMake cache errors
9298

9399
If you need more information about the state of the CMake cache to diagnose a problem, open the **Project** main menu or the *`CMakeLists.txt`* context menu in **Solution Explorer** to run one of these commands:

0 commit comments

Comments
 (0)