Skip to content

Commit 1b30383

Browse files
Merge pull request #5229 from MicrosoftDocs/main638769690400519228sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 56a5ce8 + cbf781d commit 1b30383

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)