Skip to content

Commit 3caf20c

Browse files
Merge pull request #253362 from kgremban/kgremban-patch-2
windows/linux tabs
2 parents 98f99b3 + f6b37fe commit 3caf20c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

articles/iot-dps/quick-create-simulated-device-x509.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,18 +122,20 @@ In this section, you prepare a development environment that's used to build the
122122

123123
When specifying the path used with `-Dhsm_custom_lib` in the following command, make sure to use the absolute path to the library in the `cmake` directory you previously created. The path shown assumes that you cloned the C SDK in the root directory of the C drive. If you used another directory, adjust the path accordingly.
124124

125-
**Windows:**
125+
# [Windows](#tab/windows)
126126

127127
```cmd
128128
cmake -Duse_prov_client:BOOL=ON -Dhsm_custom_lib=c:/azure-iot-sdk-c/cmake/provisioning_client/samples/custom_hsm_example/Debug/custom_hsm_example.lib ..
129129
```
130130

131-
**Linux:**
131+
# [Linux](#tab/linux)
132132

133133
```bash
134134
cmake -Duse_prov_client:BOOL=ON -Dhsm_custom_lib=/home/<USER>/azure-iot-sdk-c/cmake/provisioning_client/samples/custom_hsm_example/custom_hsm_example.a ..
135135
```
136136

137+
---
138+
137139
>[!TIP]
138140
>If `cmake` doesn't find your C++ compiler, you may get build errors while running the above command. If that happens, try running the command in the [Visual Studio command prompt](/dotnet/framework/tools/developer-command-prompt-for-vs).
139141

0 commit comments

Comments
 (0)