You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Port conans.tools.cppstd_flag to conan.tools.build.cppstd_flag
Why?
Some projects use a limited build script which require our manual intervention, passing all needed compiler flags, including libcxx, cppstd, build_type, fPIC, ... For those cases, we need to honor the cppstd version from the profile with what will be used by the compiler.
Suggestion
Port
conans.tools.cppstd_flag
toconan.tools.build.cppstd_flag
Why?
Some projects use a limited build script which require our manual intervention, passing all needed compiler flags, including
libcxx
,cppstd
,build_type
,fPIC
, ... For those cases, we need to honor thecppstd
version from the profile with what will be used by the compiler.As a real example from CCI: https://github.com/conan-io/conan-center-index/pull/13552/files#diff-a3929dbede89f0e2d22b994ee16d101290e2d32f05767c52cc580a4edf1d950eR198
As we need to translate
cppstd
to the compiler flag,cppstd_flag
would help us.The text was updated successfully, but these errors were encountered: