Skip to content
appkins edited this page Nov 24, 2018 · 1 revision

Compiling with Bazel

Note: Bazel 0.16.1 under Linux was used when adding Bazel support. Note that you do not need to initialize the git submodule for tacopie when using Bazel.

# Build the optimized version with bazel
bazel build --config=opt //...
# You can run tests with
bazel test --config=opt //...

Statically and dynamically linked libraries can now be found in bazel-bin.

Customizing compilation and installation

Please refer to this page of the wiki. Note that when using you can pass the precomipler flags to the compiler by using the copts attribute of cc_library.