jmeekhof / boost

bazel build rules for the boost library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repository contains the boost library with bazel build rules.

We recommend using this repository by adding the following rules in your
WORKSPACE file:

git_repository(
    name = "org_boost_boost",
    commit = "...",
    remote = "https://github.com/iceboy233/boost.git",
)

load("@org_boost_boost//:boost_deps.bzl", "boost_deps")
boost_deps()

And then you can reference to individual boost libraries like:

cc_binary(
    # ...
    deps = [
        # ...
        "@org_boost_boost//:asio",
    ],
)

Pull requests to add more boost libraries are welcome.

Currently pinned to boost-1.79.0. Tested under linux and Windows.

About

bazel build rules for the boost library

License:Apache License 2.0


Languages

Language:Starlark 100.0%