1 2check_msg = "Using the new toolchains and generators without specifying " \ 3 "a build profile (e.g: -pr:b=default) is discouraged and "\ 4 "might cause failures and unexpected behavior" 5 6 7def check_using_build_profile(conanfile): 8 """FIXME: Remove this in Conan 2.0 where the two profiles are always applied""" 9 if not hasattr(conanfile, "settings_build"): 10 conanfile.output.warn(check_msg) 11