Generators

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:

  • The [generators] section from conanfile.txt.

  • The generators attribute in conanfile.py.

  • The command line when installing dependencies conan install --generator.

Available generators:

Warning

These are deprecated features. Please refer to the Migration Guidelines to find the feature that replaced this one.

Important

If none of these generators fit your needs, you can create your own Custom generator.