You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/build/clang-support-cmake.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,6 @@ For the best IDE support in Visual Studio, we recommend using the latest Clang c
38
38
::: moniker-end
39
39
::: moniker range=">=msvc-160"
40
40
41
-
42
41
## Create a new configuration
43
42
44
43
To add a new Clang configuration to a CMake project:
@@ -47,11 +46,11 @@ To add a new Clang configuration to a CMake project:
47
46
48
47
1. Under **Configurations**, press the **Add Configuration** button:
49
48
50
-
:::image type="content" source="media/cmake-add-config-icon.png" alt-text="Screenshot of the controls at the top of the C Make Settings dialog, with the Add Configuration button highlighted.":::
49
+
:::image type="content" source="media/cmake-add-config-icon.png" alt-text="Screenshot of the controls at the top of the C Make Settings dialog. The Add Configuration button is highlighted.":::
51
50
52
51
1. Choose the desired Clang configuration (note that separate Clang configurations are provided for Windows and Linux), then press **Select**:
53
52
54
-
:::image type="content" source="media/cmake-clang-configuration.png" alt-text="Screenshot of the Add Configuration to C Make Settings dialog for Clang configuration. Contains entries such as Mingw64-Release, x86-Debug/Release, x64-Debug/Release, x86-Clang Debug/Release.":::
53
+
:::image type="content" source="media/cmake-clang-configuration.png" alt-text="Screenshot of the Add Configuration to C Make Settings dialog for Clang configuration. Contains entries such as Mingw64-Release, x86-Debug, x64-Debug, x86-Clang Debug/Release, and so on.":::
55
54
56
55
1. To make modifications to this configuration, use the **CMake Settings Editor**. For more information, see [Customize CMake build settings in Visual Studio](customize-cmake-settings.md).
Copy file name to clipboardExpand all lines: docs/windows/how-to-use-the-windows-10-sdk-in-a-windows-desktop-application.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ To retarget your projects to use the latest Windows SDK when you upgrade from a
24
24
25
25
1. Open the shortcut menu for the project node, and choose **Retarget projects**. (In earlier versions of Visual Studio, choose **Retarget SDK Version**.) The **Review Solution Actions** dialog appears.
26
26
27
-
:::image type="content" source="../windows/media/retargetingwindowssdk2.PNG" alt-text="Screenshot of the Review Solution Actions dialog. Target Platform Versions is set to 10.0.10156.0":::
27
+
:::image type="content" source="media/retargetingwindowssdk2.PNG" alt-text="Screenshot of the Review Solution Actions dialog. Target Platform Versions is set to 10.0.10156.0":::
28
28
29
29
1. In the **Target Platform Version** dropdown list, choose the version of the Windows SDK you want to target. Generally speaking, we recommend you choose the latest installed version. Choose the **OK** button to apply the change.
30
30
@@ -36,15 +36,15 @@ To retarget your projects to use the latest Windows SDK when you upgrade from a
36
36
37
37
1. Open the project properties dialog. In the **Configuration Properties** > **General** section, notice the values of **Windows Target Platform Version**. Changing the value here has the same effect as following this procedure. For more information, see [General Property Page (Project)](../build/reference/general-property-page-project.md).
38
38
39
-
:::image type="content" source="../windows/media/retargetingwindowssdk3.PNG" alt-text="Screenshot of the Property Pages dialog. Target Platform Version is set to 8.1." lightbox="../windows/media/retargetingwindowssdk3.PNG":::
39
+
:::image type="content" source="media/retargetingwindowssdk3.PNG" alt-text="Screenshot of the Property Pages dialog. Target Platform Version is set to 8.1." lightbox="media/retargetingwindowssdk3.PNG":::
40
40
41
41
This action changes the values of project macros that include paths to header files and library files. To see what changed, open the **Visual C++ Directories** section of the **Project Properties** dialog. Select one of the properties, such as **Include Directories**. Then, open the property value's dropdown list, and choose **\<Edit>**. The **Include Directories** dialog appears.
42
42
43
-
:::image type="content" source="../windows/media/retargetingwindowssdk4.PNG" alt-text="Screenshot of the Include Directories dialog showing paths to Windows SDK includes such as C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/Include." lightbox="../windows/media/retargetingwindowssdk4.PNG":::
43
+
:::image type="content" source="media/retargetingwindowssdk4.PNG" alt-text="Screenshot of the Include Directories dialog showing paths to Windows SDK includes such as C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/Include." lightbox="media/retargetingwindowssdk4.PNG":::
44
44
45
45
Choose the **Macros >>** button, and scroll down the list of macros to the Windows SDK macros to see all the new values.
46
46
47
-
:::image type="content" source="../windows/media/retargetingwindowssdk5.PNG" alt-text="Screenshot of the macros dialog showing Windows SDK-related macros and their values. For example, $(windir) is c:/Windows." lightbox="../windows/media/retargetingwindowssdk5.PNG":::
47
+
:::image type="content" source="media/retargetingwindowssdk5.PNG" alt-text="Screenshot of the macros dialog showing Windows SDK-related macros and their values. For example, $(windir) is c:/Windows." lightbox="media/retargetingwindowssdk5.PNG":::
48
48
49
49
1. Repeat the retargeting procedure for other solution projects, as needed, and rebuild the solution.
0 commit comments