conan-io / conan

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

[feature] Provide ``is_mingw()`` recipe helper #15648

Open memsharded opened 7 months ago

memsharded commented 7 months ago

What is your suggestion?

From https://github.com/conan-io/conan/pull/12678.

The idea:

Have you read the CONTRIBUTING guide?

mmomtchev commented 6 months ago

Isn't it possible to implement some kind of a direct verification instead of listing the configuration cases?

mmomtchev commented 6 months ago

For example using the __MINGW32__ (all MinGW when 32 bits) and __MINGW64__ (only MinGW64) macros?