Conan Inspect Jun 2026
: It evaluates methods like set_name() and set_version() to resolve dynamic attributes. Conan 1.x vs. Conan 2.x Differences
The basic syntax for the command is:
At its core, conan inspect evaluates a Conan recipe to retrieve metadata such as the package name, version, options, and settings. Unlike commands that calculate an entire dependency graph, inspect focuses on the and methods of a single recipe file. conan inspect
| Use Case | Benefit | | :--- | :--- | | | Extract the version or license automatically from a recipe to name artifacts or check compliance. | | Dependency Debugging | Quickly checking if a recipe supports a specific option (e.g., does this library have a shared option?) without editing files. | | Documentation | Generating documentation for a library by dumping the available options and their defaults. | : It evaluates methods like set_name() and set_version()