Skip to content

Commit 22e57f6

Browse files
Learn Editor: Update cmake-projects-in-visual-studio.md
1 parent addc134 commit 22e57f6

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+
However, you can 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)