File: .bazelrc

package info (click to toggle)
re2 20250805-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,140 kB
  • sloc: cpp: 20,712; python: 1,327; makefile: 354; sh: 247; perl: 224; javascript: 23
file content (20 lines) | stat: -rw-r--r-- 689 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2022 The RE2 Authors.  All Rights Reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

# Enable layering check features. Useful on Clang only.
build --features=layering_check
# Enable parse headers features. Enforcing that headers are self-contained.
build --features=parse_headers

# Abseil requires C++17 at minimum.
build --enable_platform_specific_config
build:linux --cxxopt=-std=c++17
build:macos --cxxopt=-std=c++17
build:windows --cxxopt=/std:c++17

# Print test logs for failed tests.
test --test_output=errors

# https://bazel.build/configure/best-practices#bazelrc-file
try-import %workspace%/user.bazelrc