Generators are specific components that provide the information of dependencies calculated by Conan in a suitable format for a build system. They normally provide Conan users with a conanbuildinfo.XXX file that can be included or injected to the specific build system. The file generated contains information of dependencies in form of different variables and sometimes function helpers too.
You can specify a generator in:
[generators]section from conanfile.txt.
generatorsattribute in conanfile.py.
- The command line when installing dependencies conan install --generator.
These are deprecated features. Please refer to the Migration Guidelines to find the feature that replaced this one.
If none of these generators fit your needs, you can create your own Custom generator.