Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Latest commit

 

History

History
33 lines (23 loc) · 524 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 524 Bytes

conan-bazel

Bazel Generator for Conan.

Usage

Add remote repository with the package:

conan remote add sch https://api.bintray.com/conan/sch/conan

Add package and enable the generator in conanfile.txt:

[requires]
conan-bazel/0.2

[generators]
Bazel

Install the package, telling Conan to build it from source:

conan install --build conan-bazel/* ..

Add the generated repository to Bazel:

load("//repo-dir:conan.bzl", "add_conan_repository")
add_conan_repository(name = "conan")