Conan 1.62 Documentationsome breaking changes might still happen if necessary to prepare for the Conan 2.0 release. ## BazelDeps Important: This feature is still under development, while it is recommended and usable and we will still happen if necessary to prepare for the Conan 2.0 release. Available since: 1.37.0 ## BazelDeps The BazelDeps is the dependencies generator for Bazel. Generates a/BUILD.bazel file per dependency all your Conan dependencies. The BazelDeps generator can be used by name in conanfiles: Listing 24: conanfile.py class Pkg(ConanFile): generators = "BazelDeps" Listing0 码力 | 993 页 | 7.53 MB | 1 年前3
Conan 2.10 Documentationprojects using Bazel. They can be imported from conan.tools.google. The most relevant tools are: - BazelDeps: the dependencies generator for Bazel, which generates a [DEPENDENCY]/BUILD.bazel file for each It’s simply a wrapper around the command line invocation of Bazel. ## See also: • Reference for BazelDeps. • Reference for BazelToolchain. • Reference for Bazel. • Build a simple Bazel project using [requires] fmt/10.1.1 Listing 21: conanfile.txt (continues on next page) [generators] BazelDeps BazelToolchain [layout] bazel_layout (continued from previous page) Conan uses the BazelToolchain0 码力 | 803 页 | 5.02 MB | 1 年前3
Conan 2.9 Documentationprojects using Bazel. They can be imported from conan.tools.google. The most relevant tools are: - BazelDeps: the dependencies generator for Bazel, which generates a [DEPENDENCY]/BUILD.bazel file for each It’s simply a wrapper around the command line invocation of Bazel. ## See also: • Reference for BazelDeps. • Reference for BazelToolchain. • Reference for Bazel. • Build a simple Bazel project using [requires] fmt/10.1.1 Listing 21: conanfile.txt (continues on next page) [generators] BazelDeps BazelToolchain [layout] bazel_layout (continued from previous page) Conan uses the BazelToolchain0 码力 | 795 页 | 4.99 MB | 1 年前3
Conan 2.5 Documentationprojects using Bazel. They can be imported from conan.tools.google. The most relevant tools are: - BazelDeps: the dependencies generator for Bazel, which generates a [DEPENDENCY]/BUILD.bazel file for each It’s simply a wrapper around the command line invocation of Bazel. ## See also: • Reference for BazelDeps. • Reference for BazelToolchain. • Reference for Bazel. • Build a simple Bazel project using [requires] fmt/10.1.1 Listing 21: conanfile.txt (continues on next page) [generators] BazelDeps BazelToolchain [layout] bazel_layout (continued from previous page) Conan uses the BazelToolchain0 码力 | 769 页 | 4.70 MB | 1 年前3
Conan 2.7 Documentationprojects using Bazel. They can be imported from conan.tools.google. The most relevant tools are: - BazelDeps: the dependencies generator for Bazel, which generates a [DEPENDENCY]/BUILD.bazel file for each It’s simply a wrapper around the command line invocation of Bazel. ## See also: • Reference for BazelDeps. • Reference for BazelToolchain. • Reference for Bazel. • Build a simple Bazel project using [requires] fmt/10.1.1 Listing 21: conanfile.txt (continues on next page) [generators] BazelDeps BazelToolchain [layout] bazel_layout (continued from previous page) Conan uses the BazelToolchain0 码力 | 779 页 | 4.93 MB | 1 年前3
Conan 2.0 Documentationprojects using Bazel. They can be imported from conan.tools.google. The most relevant tools are: - BazelDeps: the dependencies generator for Bazel, which generates a [DEPENDENCY]/BUILD.bazel file for each It’s simply a wrapper around the command line invocation of Bazel. ## See also: • Reference for BazelDeps. • Reference for BazelToolchain. • Reference for Bazel. • Build a simple Bazel project using "@fmt//:fmt" ], ) Listing 20: conanfile.txt [requires] fmt/10.1.1 [generators] BazelDeps BazelToolchain [layout] bazel_layout Conan uses the BazelToolchain to generate a conan_bzl.rc0 码力 | 652 页 | 4.00 MB | 1 年前3
Conan 2.8 Documentationprojects using Bazel. They can be imported from conan.tools.google. The most relevant tools are: - BazelDeps: the dependencies generator for Bazel, which generates a [DEPENDENCY]/BUILD.bazel file for each It’s simply a wrapper around the command line invocation of Bazel. ## See also: • Reference for BazelDeps. • Reference for BazelToolchain. • Reference for Bazel. • Build a simple Bazel project using [requires] fmt/10.1.1 Listing 21: conanfile.txt (continues on next page) [generators] BazelDeps BazelToolchain [layout] bazel_layout (continued from previous page) Conan uses the BazelToolchain0 码力 | 785 页 | 4.95 MB | 1 年前3
Conan 2.4 Documentationprojects using Bazel. They can be imported from conan.tools.google. The most relevant tools are: - BazelDeps: the dependencies generator for Bazel, which generates a [DEPENDENCY]/BUILD.bazel file for each It’s simply a wrapper around the command line invocation of Bazel. ## See also: • Reference for BazelDeps. • Reference for BazelToolchain. • Reference for Bazel. • Build a simple Bazel project using [requires] fmt/10.1.1 Listing 21: conanfile.txt (continues on next page) [generators] BazelDeps BazelToolchain [layout] bazel_layout (continued from previous page) Conan uses the BazelToolchain0 码力 | 769 页 | 4.69 MB | 1 年前3
Conan 2.6 Documentationprojects using Bazel. They can be imported from conan.tools.google. The most relevant tools are: - BazelDeps: the dependencies generator for Bazel, which generates a [DEPENDENCY]/BUILD.bazel file for each It’s simply a wrapper around the command line invocation of Bazel. ## See also: • Reference for BazelDeps. • Reference for BazelToolchain. • Reference for Bazel. • Build a simple Bazel project using [requires] fmt/10.1.1 Listing 21: conanfile.txt (continues on next page) [generators] BazelDeps BazelToolchain [layout] bazel_layout (continued from previous page) Conan uses the BazelToolchain0 码力 | 777 页 | 4.91 MB | 1 年前3
Conan 2.2 Documentationprojects using Bazel. They can be imported from conan.tools.google. The most relevant tools are: - BazelDeps: the dependencies generator for Bazel, which generates a [DEPENDENCY]/BUILD.bazel file for each It’s simply a wrapper around the command line invocation of Bazel. ## See also: • Reference for BazelDeps. • Reference for BazelToolchain. • Reference for Bazel. • Build a simple Bazel project using deps = ["@fmt//:fmt"], ) Listing 21: conanfile.txt [requires] fmt/10.1.1 [generators] BazelDeps BazelToolchain (continues on next page) (continued from previous page) [layout]0 码力 | 718 页 | 4.46 MB | 1 年前3
共 36 条
- 1
- 2
- 3
- 4













