From 09848252551682e6240b739c3c58d2d719fba63b Mon Sep 17 00:00:00 2001 From: irengrig Date: Tue, 29 Jan 2019 14:55:29 +0100 Subject: [PATCH] Correct headers (#209) * Update README.md because of Bazel 0.22.0 release - with Bazel 0.22.0, no flags are required to use rules_foreign_cc - improve Bazel versions related information - add link to "rules_foreign_cc take-aways" * Correct headers in README --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2250fd8c..a191cce9 100644 --- a/README.md +++ b/README.md @@ -9,11 +9,16 @@ Rules for building C/C++ projects using foreign build systems inside Bazel proje ## Bazel versions compatibility -#####Bazel HEAD after [cae1e816e](https://github.com/bazelbuild/bazel/commit/cae1e816e5e1142fbd4aefdd29bffb2cbad71fa8) or 0.23+: +**Bazel HEAD after [cae1e816e](https://github.com/bazelbuild/bazel/commit/cae1e816e5e1142fbd4aefdd29bffb2cbad71fa8) or 0.23+:** + No flags are required, works on Windows. -#####Bazel 0.22: + +**Bazel 0.22:** + No flags are required, but unfortunately Bazel's Starlark C++ API **is broken on Windows**. -#####Bazel 0.20 - 0.21: + +**Bazel 0.20 - 0.21:** + Pass the Bazel the following flag: ``` --experimental_cc_skylark_api_enabled_packages=@rules_foreign_cc//tools/build_defs,tools/build_defs,@foreign_cc_impl