| ▲ | psyclobe 14 hours ago |
| cmake ftw |
|
| ▲ | JCWasmx86 12 hours ago | parent | next [-] |
| Or meson is a serious alternative to cmake (Even better than cmake imho) |
|
| ▲ | torarnv 9 hours ago | parent | prev | next [-] |
| CMake also does sequential configuration AFAIK. Is there any work to improve on that somewhere? |
| |
| ▲ | OskarS 7 hours ago | parent [-] | | Meson and cmake in my experience are both MUCH faster though. It’s much less of an issue with these systems than with autotools. | | |
| ▲ | tavianator 2 hours ago | parent [-] | | Just tried reconfiguring LLVM: 27.24s user 8.71s system 99% cpu 36.218 total
Admittedly the LLVM build time dwarfs the configuration time, but still. If you're only building a smaller component then the config time dominates: ninja libc 268.82s user 26.16s system 3246% cpu 9.086 total
|
|
|
|
| ▲ | aldanor 14 hours ago | parent | prev | next [-] |
| You mean cargo build |
| |
| ▲ | yjftsjthsd-h 14 hours ago | parent [-] | | ... can cargo build things that aren't rust? If yes, that's really cool. If no, then it's not really in the same problem domain. | | |
| ▲ | kouteiheika 12 hours ago | parent | next [-] | | No it can't. It can build a Rust program (build.rs) which builds things that aren't Rust, but that's an entirely different use case (building non-Rust library to use inside of Rust programs). | |
| ▲ | crabbone 5 hours ago | parent | prev [-] | | There's GprBuild (Ada tool) that can build C (not sure about C++). It also has more elaborate configuration structure, but I didn't use it extensively to tell what exactly and how exactly does it do it. In combination with Alire it can also manage dependencies Cargo-style. | | |
|
|
|
| ▲ | malkia 13 hours ago | parent | prev [-] |
| cmake uses configure, or configure-like too! |
| |