2
0
Fork 0
mirror of https://github.com/bazel-contrib/rules_foreign_cc synced 2024-11-27 02:43:28 +00:00
Build rules for interfacing with "foreign" (non-Bazel) build systems (CMake, configure-make, GNU Make, boost, ninja, Meson) https://bazel-contrib.github.io/rules_foreign_cc/
Find a file
2023-08-29 16:35:32 +01:00
.bazelci
.bcr
.github
docs
examples Update rules_apple (#1086) 2023-08-29 16:35:32 +01:00
foreign_cc Fix multiple-definition error on windows_config_setting (#1084) 2023-08-25 23:23:56 +01:00
test fix linux cross compiling on macos (#1062) 2023-06-27 23:16:22 +01:00
toolchains Update meson to 1.1.1 (#1072) 2023-07-17 19:19:59 +01:00
.bazelignore
.gitignore
.pre-commit-config.yaml
ARCHITECTURE.md
AUTHORS
BUILD.bazel
CODEOWNERS
CONTRIBUTING.md
LICENSE
MODULE.bazel Create hub repo for shell framework toolchains (#1066) 2023-06-28 09:20:01 +00:00
NEWS.md
README.md
version.bzl
WORKSPACE.bazel
WORKSPACE.bzlmod

rules_foreign_cc

Build status

Rules for building C/C++ projects using foreign build systems inside Bazel projects.

This is not an officially supported Google product (meaning, support and/or new releases may be limited.)

Documentation

Documentation for all rules and providers are available at: https://bazelbuild.github.io/rules_foreign_cc/

Bazel versions compatibility

Works with Bazel after 4.2.0.

The following flags are required in Bazel 4.x but not Bazel 5.x or newer:

  • --experimental_enable_aggregating_middleman=False

Note that the rules may be compatible with older versions of Bazel but support may break in future changes as these older versions are not tested.

News

For more generalized updates, please see NEWS.md or checkout the release notes of current or previous releases

Design document

External C/C++ libraries rules

Caveats

  • FreeBSD support is currently experimental and on a best-effort basis. Google currently doesn't have a CI test environment for FreeBSD, but please make your voice heard by upvoting this issue.