4 ms·
Conan indulges the fantasy that c++ code is packageable. Sorry, in 2023 the only portable way to distribute c++ libraries is still by source. This is why header
by mkoubaa 3y ago
Conan indulges the fantasy that c++ code is packageable. Sorry, in 2023 the only portable way to distribute c++ libraries is still by source. This is why header only libraries are so desirable.
- rurban 3y agoconan begs to differ. they distribute binary packages for many options: arch, compiler, debug/release, flags, custom, ...
- wredue 3y agoConan can beg to differ all they want. Offering source meets all of those needs without have to rely on a third party guessing your needs.
- rurban 3y agoConan is a cooperate packaging framework, which obviously favors binary packages over source-only. And there's no guessing, all the options are hashed, and the binary is based on this hash. A single option change leads to different binaries. Even in open source it's extremely important to use proper options (arch, flags, deps in which variant, ...). E.g. with something Debian or Redhat they decide on these options. With conan you can decide by yourself. E.g. use better hardening flags or a better libc or a more stable dependency package.
- humanrebar 3y agoPortable in what dimensions? There's no portable way to describe how to build an archive containing C++ source code.
- bogwog 3y agoI've been using Conan for years with great success. I think you might have missed the documentation: https://docs.conan.io https://docs.conan.io