How do I access that value from within a recipe? Extrapolating the rationale described here (https://docs.conan.io/2/reference/config_files/profiles.html), I tried self.conf.tools.cmake.cmake_layout['test_folder'] and I get this error: AttributeError: 'Conf' object has no attribute 'tools'. Apparently, Conan loads the [conf] section but I don't know how to access the setting declared in it.
Greetings,
I have a profile file with this content:
How do I access that value from within a recipe? Extrapolating the rationale described here (https://docs.conan.io/2/reference/config_files/profiles.html), I tried
self.conf.tools.cmake.cmake_layout['test_folder']
and I get this error:AttributeError: 'Conf' object has no attribute 'tools'
. Apparently, Conan loads the[conf]
section but I don't know how to access the setting declared in it.thanks,
PC
Have you read the CONTRIBUTING guide?