{"doc_urls":["index.html#rules-foreigncc","index.html#overview","index.html#setup","rules.html#rules","cmake.html#cmake","cmake.html#building-cmake-projects","cmake.html#cmake-1","cmake.html#cmake_variant","configure_make.html#configure_make","configure_make.html#configure_make_variant","make.html#make","make.html#make_variant","ninja.html#ninja","flatten.html#rules-foreign-cc","flatten.html#boost_build","flatten.html#cmake","flatten.html#configure_make","flatten.html#make","flatten.html#make_tool","flatten.html#native_tool_toolchain","flatten.html#ninja","flatten.html#ninja_tool","flatten.html#foreignccartifactinfo","flatten.html#foreignccdepsinfo","flatten.html#toolinfo","flatten.html#cmake_tool","flatten.html#cmake_variant","flatten.html#configure_make_variant","flatten.html#make_variant","flatten.html#rules_foreign_cc_dependencies"],"index":{"documentStore":{"docInfo":{"0":{"body":20,"breadcrumbs":4,"title":2},"1":{"body":40,"breadcrumbs":3,"title":1},"10":{"body":488,"breadcrumbs":5,"title":1},"11":{"body":37,"breadcrumbs":5,"title":1},"12":{"body":464,"breadcrumbs":5,"title":1},"13":{"body":16,"breadcrumbs":5,"title":3},"14":{"body":429,"breadcrumbs":3,"title":1},"15":{"body":568,"breadcrumbs":3,"title":1},"16":{"body":621,"breadcrumbs":3,"title":1},"17":{"body":480,"breadcrumbs":3,"title":1},"18":{"body":46,"breadcrumbs":3,"title":1},"19":{"body":95,"breadcrumbs":3,"title":1},"2":{"body":57,"breadcrumbs":3,"title":1},"20":{"body":457,"breadcrumbs":3,"title":1},"21":{"body":44,"breadcrumbs":3,"title":1},"22":{"body":58,"breadcrumbs":3,"title":1},"23":{"body":13,"breadcrumbs":3,"title":1},"24":{"body":65,"breadcrumbs":3,"title":1},"25":{"body":14,"breadcrumbs":3,"title":1},"26":{"body":37,"breadcrumbs":3,"title":1},"27":{"body":37,"breadcrumbs":3,"title":1},"28":{"body":37,"breadcrumbs":3,"title":1},"29":{"body":129,"breadcrumbs":3,"title":1},"3":{"body":11,"breadcrumbs":4,"title":1},"4":{"body":0,"breadcrumbs":5,"title":1},"5":{"body":276,"breadcrumbs":7,"title":3},"6":{"body":568,"breadcrumbs":5,"title":1},"7":{"body":37,"breadcrumbs":5,"title":1},"8":{"body":628,"breadcrumbs":5,"title":1},"9":{"body":37,"breadcrumbs":5,"title":1}},"docs":{"0":{"body":"Rules for building C/C++ projects using foreign build systems (non Bazel) inside Bazel projects. Release Commit Status 0.8.0 e208dee Build status","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"},"10":{"body":"A rule for building projects using the GNU Make build tool make(name, additional_inputs, additional_tools, alwayslink, args, build_data, copts, data, defines, deps, env, includes, install_prefix, lib_name, lib_source, linkopts, out_bin_dir, out_binaries, out_data_dirs, out_headers_only, out_include_dir, out_interface_libs, out_lib_dir, out_shared_libs, out_static_libs, postfix_script, targets, tool_prefix, tools_deps) Rule for building external libraries with GNU Make. GNU Make commands (make and make install by default) are invoked with PREFIX=\"install\"(bydefault),andotherenvironmentvariablesforcompilationandlinking,takenfromBazelC/C++toolchainandpasseddependencies.ATTRIBUTESNameDescriptionTypeMandatoryDefaultnameAuniquenameforthistarget.Namerequiredadditional_inputsdeprecated:Pleaseusethebuild_dataattribute.Listoflabelsoptional[]additional_toolsdeprecated:Pleaseusethebuild_dataattribute.Listoflabelsoptional[]alwayslinkOptional.iftrue,linkalltheobjectfilesfromthestaticlibrary,eveniftheyarenotused.BooleanoptionalFalseargsAlistofargumentstopasstothecalltomakeListofstr