The MongoDB C Driver supports the Darwin native TLS and crypto libraries.
Using the native libraries there is no need to install OpenSSL. By
default however, the driver will compile against OpenSSL if it
detects it being available. If OpenSSL is not available, it will
fallback on the native libraries.

To compile against the Darwin native TLS and crypto libraries, even when
OpenSSL is available, configure the driver like so:

Let’s start by generating Visual Studio project files for libbson, a dependency of the C driver. The following assumes we are compiling for 64-bit Windows using Visual Studio 2015 Express, which can be freely downloaded from Microsoft.

All of the MongoDB C Driver’s components will now have been build in release
mode and can be found in C:\mongo-c-driver.
To build and install debug binaries, remove the
"-DCMAKE_BUILD_TYPE=Release" argument to cmake and
/p:Configuration=Release to msbuild.exe.

The MongoDB C Driver supports the Windows native TLS and crypto libraries.
Using the native libraries there is no need to install OpenSSL. By
default however, the driver will compile against OpenSSL if it
detects it being available. If OpenSSL is not available, it will
fallback on the native libraries.

To compile against the Windows native TLS and crypto libraries, even when
OpenSSL is available, configure the driver like so:

The MongoDB C Driver supports the Windows native Kerberos and Active Directory
interface, SSPI. Using the native libraries there is no need to install any
dependencies, such as cyrus-sasl. By default however, the driver will compile
against cyrus-sasl.

To compile against the Windows native SSPI, configure the driver like so: