Run `git clone https://github.com/microsoft/cpp_client_telemetry.git` to clone the repo. If your project requires UTC to send telemetry, you need to add `--recurse-submodules` when cloning to tell git to add `lib/modules` repo. You will be asked your credentials to clone the repo. Use your username and GitHub token.
Run `build.sh` script in the root folder of the source tree. This will fetch the necessary build tools and build the SDK. You may be prompted for root password in order to install the build package.
### RedHat / CentOS distros
Run `source build-rhel.sh` then run `build.sh`. Older versions of RedHat require devtoolset-7 or above. devtoolset-7 - Developer Toolset is designed for developers working on CentOS or Red Hat Enterprise Linux platform. It provides current versions of the GNU Compiler Collection, GNU Debugger, and other development, debugging, and performance monitoring tools.
### Using Docker for builds
Docker on Windows can be used to build SDK in Docker image. Please refer to `build-docker.cmd` for details.