bazel-contrib / bazel-contrib/rules_foreign_cc

Alternative to Adding ForeignCc Rules in WORKSPACE

Open
#1,357 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Starlark
Stars
737
Forks
270
PR merge metrics
No merged PRs in 30d

Description

I'm a fresh newbie to bazel, and I'd like to build a cmake library within a bazel project. I noticed your [documentation](https://bazel-contrib.github.io/rules_foreign_cc/) mentions putting ForeignCc rules in the WORKSPACE file, but from the [ bazel documentation](https://bazel.build/concepts/build-ref), WORKSPACE is legacy.

Where should I put the rules with newer versions of bazel? Should your documentation be updated?

Contributor guide

Open the contributing guide

Research direction

Start with the linked rules_foreign_cc documentation and Bazel's build-ref documentation, then identify where the current setup instructions live. Clarify the supported replacement for WORKSPACE-based configuration and update the documentation so users of newer Bazel versions have actionable instructions.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake
Domain
build-system, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.