1. Home
  2. Browse
  3. mongo-cxx-driver

mongo-cxx-driver

v4.0.0#0Latest

C++ Driver for MongoDB

Install

Run the following Vcpkg command to install the port.

vcpkg install mongo-cxx-driver

Usage

mongo-cxx-driver provides CMake targets:

find_package(bsoncxx CONFIG REQUIRED)
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:mongo::bsoncxx_static>,mongo::bsoncxx_static,mongo::bsoncxx_shared>)
find_package(mongocxx CONFIG REQUIRED)
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:mongo::mongocxx_static>,mongo::mongocxx_static,mongo::mongocxx_shared>)

Dependencies

See source

Version

v4.0.0#0

Publication

Supports

All

GitHub

mongodb/mongo-cxx-driver1.1K

Homepage

github.com/mongodb/mongo-cxx-driver

Subtree

6eab0a7b21

License

Apache-2.0

Definition

Manifest