Skip to content

Commit

Permalink
Enable external_include_paths feature in .bazelrc
Browse files Browse the repository at this point in the history
  • Loading branch information
phst committed Dec 9, 2024
1 parent 85299f5 commit 60525a5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,20 @@
# See the License for the specific language governing permissions and
# limitations under the License.

build --enable_platform_specific_config

build --process_headers_in_dependencies

# The external_include_paths feature has to be specified in .bazelrc because it
# needs to apply to all compile actions in all repositories.
# TODO: File bug against Bazel to make this work as repository-level feature.
build --features=external_include_paths
build --host_features=external_include_paths

# The next line shouldn’t be necessary.
# TODO: File bug against rules_cc.
build:windows --copt='/external:W3' --host_copt='/external:W3'

# Run Pylint by default.
build --aspects='//private:defs.bzl%check_python'
build --output_groups='+check_python'
Expand Down

0 comments on commit 60525a5

Please sign in to comment.