conan-io / conan

Conan - The open-source C and C++ package manager
https://conan.io
MIT License
8.13k stars 968 forks source link

[question] mingw_installer best practice? #6055

Open davidtazy opened 4 years ago

davidtazy commented 4 years ago

should build_requirement of mingw_installer should be defined in profile or in component recipe?

for example, openssl-recipe in conan-center_index, mingw_installer is no in recipe icu in bincrafters , mingw_installer is defined in recipe

thx

lasote commented 4 years ago

It is a good question. I would say, in general, the recipes shouldn't force something like a compiler unless its usage is very very unusual, like OpenSSL is (or was) doing with NASM in Windows. I prefer the profiles to declare the environment.