by kxyvr · 8y ago · 0 comments
https://github.com/elrnv/ipopt-rs/blob/master/ipopt-sys/buil...
Others just assume that the libraries are there, but they still require a program to compile them:
https://github.com/cmr/openblas-src/blob/master/build.rs
As long as all of the dependencies are in Rust, things appear nice. At the same time, unless I'm missing something, it seems like crates manages multilanguage projects poorly. Though I have some major gripes with CMake, I've managed multilanguage projects mostly well.
Is there a sane way outside of CMake to manage a multilanguage project with Rust?
When I tried this in build.rs, I had to check modification times myself.
There is an opening for a ninja-type crate in Rust.