aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorjmillikin-stripe <jmillikin@stripe.com>2018-03-08 04:48:46 -0800
committerDominic Hamon <dominichamon@users.noreply.github.com>2018-03-08 12:48:46 +0000
commita9beffda0b89a6995372100456a4ad894d29b93b (patch)
tree85225cc4f0f9c6281f988323705e5ade6fc2b738 /.gitignore
parent61497236ddc0d797a47ef612831fb6ab34dc5c9d (diff)
downloadgoogle-benchmark-a9beffda0b89a6995372100456a4ad894d29b93b.tar.gz
Add support for building with Bazel. (#533)
* Add myself to CONTRIBUTORS under the corp CLA for Stripe, Inc. * Add support for building with Bazel. Limitations compared to existing CMake rules: * Defaults to using C++11 `<regex>`, with an override via Bazel flag `--define` of `google_benchmark.have_regex`. The TravisCI config sets the regex implementation to `posix` because it uses ancient compilers. * Debug vs Opt mode can't be set per test. TravisCI runs all the tests in debug mode to satisfy `diagnostics_test`, which depends on `CHECK` being live. * Set Bazel workspace name so other repos can refer to it by stable name. This is recommended by the Bazel style guide to avoid each dependent workspace defining its own name for the dependency.
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 93d5ced..aca5f93 100644
--- a/.gitignore
+++ b/.gitignore
@@ -41,6 +41,9 @@ build.ninja
install_manifest.txt
rules.ninja
+# bazel output symlinks.
+bazel-*
+
# out-of-source build top-level folders.
build/
_build/