#build-script #build #conan #ffi #link

build conan-build

Extracts linker flags from conan packages for use in build scripts

5 releases

0.1.4 Mar 17, 2024
0.1.3 Aug 28, 2022
0.1.2 Aug 27, 2022
0.1.1 Aug 27, 2022
0.1.0 Aug 27, 2022

#229 in Build Utils

MIT license

13KB
316 lines

conan-build

Extracts compiler flags from Conan packages for integration with Rust build scripts

Read zeromq-sys-sample/build.rs for an example on how to write a build script that links with an external package from conan.

Remarks: It is recommended to not run conan install within build.rs.

Dependencies

~0.5–1MB
~20K SLoC