In the previous examples, every time we executed a conan install command, we had to use the –output-folder [...] There’s a neater way to decide where we want Conan to generate the files [...]. You can define this directly in the conanfile.py inside the layout() method and make it work for every platform without adding more changes.
I am curious why this is not the easy button copy paste here as it's supported in the conanfile.txt
According to our docs the better way is to use layouts
https://docs.conan.io/2/tutorial/consuming_packages/the_flexibility_of_conanfile_py.html?highlight=layouts#use-the-layout-method
I am curious why this is not the easy button copy paste here as it's supported in the conanfile.txt