Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document vcpkg build use-prov-client feature #2622

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions doc/setting_up_vcpkg.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ The Azure IoT C SDK uses [vcpkg](https://github.com/microsoft/vcpkg) primarily f
-Dwarnings_as_errors=OFF
```

Additionally, it is possible to enable the Provisioning Device client during installation by using the `vcpkg install azure-iot-sdk-c[use-prov-client]` command instead or by adding the `use-prov-client` feature in the [vcpkg manifest](https://learn.microsoft.com/en-us/vcpkg/concepts/manifest-mode) file. In any case, this build will also set the following CMake flags:

```
-Duse_prov_client=ON
-Dhsm_type_symm_key=ON
```

There are no other configuration options via vcpkg available.

> NOTE: If your application requires specific CMake flags not shown above, please build and install directly from the source code. See [devbox_setup.md](https://github.com/Azure/azure-iot-sdk-c/blob/main/doc/devbox_setup.md) for further information.
Expand Down