Search code examples
c++bazel

Install library built with Bazel


First time bazel user here. I've compiled a library [1], but I'm missing how to install it to prefix /usr/local.

Sure I can always copy it around. But what is the bazel way of doing it?

[1] https://github.com/google/jwt_verify_lib


Solution

  • Check out https://github.com/google/bazel_rules_install. The feature set seems to support install prefixes.