Skip to content

Commit a6eebef

Browse files
TylerMSFTTylerMSFT
authored andcommitted
alt-text
1 parent 4b81209 commit a6eebef

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

docs/build/customize-cmake-settings.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ If you maintain projects that use a *`CMakeSettings.json`* file for CMake build
1414

1515
To open the CMake settings editor, select the **Configuration** drop-down in the main toolbar and choose **Manage Configurations**.
1616

17-
![Screenshot of the CMake configuration drop-down that highlights the Manage Configurations selection.](media/vs2019-cmake-manage-configurations.png)
17+
![Screenshot of the CMake configuration drop-down. Manage Configurations is highlighted.](media/vs2019-cmake-manage-configurations.png)
1818

1919
Now you see the **Settings Editor** with the installed configurations on the left.
2020

21-
![Screenshot of the CMake settings editor.](media/cmake-settings-editor.png)
21+
:::image type="complex" source="media/cmake-settings-editor.png" alt-text="Screenshot of the CMake settings editor.":::
22+
The left pane shows the installed configurations (x86-Debug). The right pane shows the settings for the selected configuration. THe settings include the configuration name, configuration type (set to Debug), toolset (set to msvc_x86), CMake toolchain file (empty), build root (contains ${env:USERPROFILE}\CMakeBuilds\${workspaceHash}\build\${name}), CMake command arguments (empty), and build command arguments (-v).
23+
:::image-end:::
2224

2325
Visual Studio provides one `x64-Debug` configuration by default. You can add more configurations by choosing the green plus sign. The settings that you see in the editor might vary depending on which configuration is selected.
2426

@@ -190,8 +192,10 @@ You can also directly edit *`CMakeSettings.json`* to create custom configuration
190192

191193
JSON IntelliSense helps you edit the *`CMakeSettings.json`* file:
192194

193-
![Screenshot of the CMake JSON IntelliSense pop-up in the editor.](media/cmake-json-intellisense.png "CMake JSON IntelliSense")
194-
195+
:::image type="complex" source="media/cmake-json-intellisense.png" alt-text="Screenshot of the CMake JSON IntelliSense pop-up in the editor.":::
196+
The JSON IntelliSense pop-up for "configurations" shows buildCommandArgs, buildRoot, cmakeCommandArgs, configurationType, among several others.
197+
:::image-end:::
198+
195199
For more information about each of the properties in the file, see [`CMakeSettings.json` schema reference](cmakesettings-reference.md).
196200

197201
::: moniker-end

0 commit comments

Comments
 (0)