Skip to content

The mongocxx driver (and its dependencies) built with Bazel

License

Notifications You must be signed in to change notification settings

dieortin/mongocxx-bazel

Repository files navigation

About

This project contains BUILD files to compile and use the C++ driver for MongoDB with Bazel, using rules_foreign_cc.

How to run

You can run the tutorial code with mongocxx with the command bazel run tutorial. This assumes you have bazelisk installed and symlinked as "bazel".

If you want to use the mongocxx driver in your own Bazel project, you can import the BUILD files and depend on it like done here:

deps = ["@mongocxx"],

Please keep in mind the compilation options that have been applied might not be the ones you need or prefer. This BUILD files produce statically linked versions of the libraries only.

About

The mongocxx driver (and its dependencies) built with Bazel

Topics

Resources

License

Stars

Watchers

Forks