The python_requires feature is a very convenient way to share files and code between different recipes.
See:
- https://manu343726.github.io/2018-11-17-conan-common-recipes/
- https://docs.conan.io/en/latest/extending/python_requires.html
from conans import python_requires
# ...
conan_build_helper = python_requires("conan_build_helper/VERSION_HERE@conan/stable")
class my_conan_project(conan_build_helper.CMakePackage):
# ...
CONAN_REVISIONS_ENABLED=1 \
CONAN_VERBOSE_TRACEBACK=1 \
CONAN_PRINT_RUN_COMMANDS=1 \
CONAN_LOGGING_LEVEL=10 \
GIT_SSL_NO_VERIFY=true \
cmake -E time \
conan create . conan/stable