top | item 26725885

(no title)

dfgdghdf | 4 years ago

Build from source

discuss

order

TeMPOraL|4 years ago

Then give me a package manager that can handle cross-compilation well.

Currently, it seems almost nobody is taking that into account when packaging their wares for consumption by CMake, or distribution by Conan. Or if they do give it some thought, it always ends up making dubious assumptions, like "Clang == Linux", or "MSVC == Windows".

bluGill|4 years ago

I have one at work that does okay. If your project is based on cmake I can create the package very quickly, though most projects still don't create a cmake configuration file. If your project isn't cmake - well at best a day, and often I will spend weeks fighting your half baked build system that doesn't understand the common things I want to do. (in practice autotools projects have the options to cross compile but it doesn't actually work...)

nicoburns|4 years ago

Rust/Go seem to manage this just without issues.