This website requires JavaScript.
Explore
Help
Sign In
bazel
/
rules_foreign_cc
Watch
2
Star
0
Fork
You've already forked rules_foreign_cc
0
mirror of
https://github.com/bazel-contrib/rules_foreign_cc
synced
2024-12-01 22:16:27 +00:00
Code
Issues
Releases
Activity
9eb30f8c5a
rules_foreign_cc
/
.bazelignore
5 lines
80 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Register shell toolchain implementations in the correct order and allow customization (#214) * Register shell toolchain implementations in the correct order so that the default implementation is the last * Refactor shell toolchain to allow users register custom shell toolchains. - define your own shell toolchain file(s) by copying @rules_foreign_cc//tools/build_defs/shell_toolchain/toolchains/impl:linux_commands.bzl, and modifying the methods. - create a mapping: a list of ToolchainMapping with the mappings between created file(s) and execution or/and target platform constraints. - in the BUILD file of some package, call "register_mappings" macro from "@rules_foreign_cc//tools/build_defs/shell_toolchain/toolchains:defs.bzl", passing the mappings and toolchain_type_ = "@rules_foreign_cc//tools/build_defs/shell_toolchain/toolchains:shell_commands" - in the WORKSPACE file of your main repository, when you initialize rules_foreign_cc, pass the mappings and the package, in which BUILD file you called "register_mappings" macro * Correct typo
2019-01-31 14:11:28 +00:00
examples
Pass --copt, --cxxopt, --conlyopt, --linkopt to cmake_external/configure_make rules (#235) - explicitly pass the values of these options to corresponding compilation/link flags lists; add them to the end of the lists of they are not already there - please see the test in test/standard_cxx_flags_test
2019-03-11 15:50:39 +00:00
toolchains_examples
Test for detect_root function and example of usage (#373)
2020-04-30 09:17:48 +00:00
test/standard_cxx_flags_test
test/detect_root_test
Copy permalink