rules_foreign_cc/0.3.0/searchindex.js

1 line
30 KiB
JavaScript
Raw Normal View History

Object.assign(window.search, {"doc_urls":["index.html#rules-foreigncc","index.html#overview","index.html#setup","index.html#rules"],"index":{"documentStore":{"docInfo":{"0":{"body":13,"breadcrumbs":4,"title":2},"1":{"body":40,"breadcrumbs":3,"title":1},"2":{"body":54,"breadcrumbs":3,"title":1},"3":{"body":11,"breadcrumbs":3,"title":1}},"docs":{"0":{"body":"Rules for building C/C++ projects using foreign build systems (non Bazel) inside Bazel projects.","breadcrumbs":"Rules ForeignCc » Rules ForeignCc","id":"0","title":"Rules ForeignCc"},"1":{"body":"Rules ForeignCc is designed to help users build projects that are not built by Bazel and also not fully under their control (ie: large and mature open source software). These rules provide a mechanism to build these external projects within Bazel's sandbox environment using a variety of C/C++ build systems to be later consumed by other rules as though they were normal cc rules.","breadcrumbs":"Rules ForeignCc » Overview","id":"1","title":"Overview"},"2":{"body":"To use the ForeignCc build rules, add the following content to your WORKSPACE file: load(\"@bazel_tools//tools/build_defs/repo:http.bzl\", \"http_archive\") http_archive( name = \"rules_foreign_cc\", # TODO: Get the latest sha256 value from the latest release on the releases page # https://github.com/bazelbuild/rules_foreign_cc/releases # # sha256 = \"...\", strip_prefix = \"rules_foreign_cc-0.3.0\", url = \"https://github.com/bazelbuild/rules_foreign_cc/archive/0.3.0.tar.gz\",\n) load(\"@rules_foreign_cc//foreign_cc:repositories.bzl\", \"rules_foreign_cc_dependencies\") rules_foreign_cc_dependencies() Please note that there are many different configuration options for rules_foreign_cc_dependencies which offer more control over the toolchains used during the build phase. Please see that macro's documentation for more details.","breadcrumbs":"Rules ForeignCc » Setup","id":"2","title":"Setup"},"3":{"body":"cmake configure_make make ninja For additional rules/macros/providers, see the full API in one page .","breadcrumbs":"Rules ForeignCc » Rules","id":"3","title":"Rules"}},"length":4,"save":true},"fields":["title","body","breadcrumbs"],"index":{"body":{"root":{"0":{".":{"3":{".":{"0":{"df":1,"docs":{"2":{"tf":1.0}}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"df":0,"docs":{}},"a":{"d":{"d":{"df":1,"docs":{"2":{"tf":1.0}},"i":{"df":0,"docs":{},"t":{"df":1,"docs":{"3":{"tf":1.0}}}}},"df":0,"docs":{}},"df":0,"docs":{},"p":{"df":0,"docs":{},"i":{"df":1,"docs":{"3":{"tf":1.0}}}}},"b":{"a":{"df":0,"docs":{},"z":{"df":0,"docs":{},"e":{"df":0,"docs":{},"l":{"'":{"df":1,"docs":{"1":{"tf":1.0}}},"df":2,"docs":{"0":{"tf":1.4142135623730951},"1":{"tf":1.0}}}}}},"df":0,"docs":{},"u":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"d":{"df":3,"docs":{"0":{"tf":1.4142135623730951},"1":{"tf":1.7320508075688772},"2":{"tf":1.4142135623730951}}},"df":0,"docs":{},"t":{"df":1,"docs":{"1":{"tf":1.0}}}}}}},"c":{"/":{"c":{"df":2,"docs":{"0":{"tf":1.0},"1":{"tf":1.0}}},"df":0,"docs":{}},"c":{"df":1,"docs":{"1":{"tf":1.0}}},"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"k":{"df":0,"docs":{},"e":{"df":1,"docs":{"3":{"tf":1.0}}}}},"df":0,"docs":{}},"o":{"df":0,"docs":{},"n":{"df":0,"docs":{},"f":{"df":0,"docs":{},"i":{"df":0,"docs":{},"g":{"df":0,"docs":{},"u":{"df":0,"docs":{},"r":{"df":1,"docs":{"2":{"tf":1.0}},"e":{"_":{"df":0,"docs":{},"m":{"a":{"df":0,"docs":{},"k":{"df":1,"docs":{"3":{"tf":1.0}}}},"df":0,"docs":{}}},"df":0,"docs":{}}}}}}},"s":{"df":0,"docs":{},"u":{"df":0,"docs":{},"m":{"df":1,"docs":{"1":{"tf":1.0}}}}},"t":{"df":0,"docs":{},"e":{"df":0,"docs":{},"n":{"df":0,"docs":{},"t":{"df":1,"docs":{"2":{"tf":1.0}}}}},"r":{"df":0,"docs":{},"o":{"df":0,"docs":{},"l":{"df":2,"docs":{"1":{"tf":1.0},"2":{"tf":1.0}}}}}}}}},"d":{"df":0,"docs":{},"e":{"df":0,"docs":{},"s":{"df":0,"docs":{},"i":{"df":0,"docs":{},"g":{"df":0,"docs":{},"n":{"df":1,"docs":{"1":{"tf":1.0}}}}}},"t":{"a":{"df":0,"docs":{},"i":{"df":0,"docs":{},"l":{"df":1,"docs":{"2":{"tf":1.0}}}}},"df":0,"docs":{}}},"i":{"df":0,"docs":{},"f":{"df":0,"docs":{},"f":{"df":0,