Skip to content

Reconcile provided Bazel targets with our installation instructions #661

@hoffbrinkle

Description

@hoffbrinkle

Our current installation guide for Bazel indicates that the @au//au target provides a significant number of headers:

Dependency Headers provided Notes
@au//au "au/au.hh" "au/fwd.hh" "au/units/*.hh" "au/units/*_fwd.hh" "au/constants/*.hh"

However, our BUILD.bazel file doesn't really reflect this:

cc_library(
    name = "au",
    hdrs = ["au.hh"],
    visibility = ["//visibility:public"],
    deps = [
        ":chrono_interop",
        ":constant",
        ":constants",
        ":math",
        ":units",
    ],
)

The only header we provide from the au target is au.hh. The rest of the headers are transitively provided. We should reconcile this and provide "everything" (e.g. googletest) or provide headers via more granular targets (e.g. abseil-cpp).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions