Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 823 Bytes

File metadata and controls

41 lines (29 loc) · 823 Bytes

Recipe tools

Tools are all things that can be imported and used in Conan recipes.

The import path is always like:

from conan.tools.cmake import CMakeToolchain, CMakeDeps, CMake
from conan.tools.microsoft import MSBuildToolchain, MSBuildDeps, MSBuild

The main guidelines are:

  • Everything that recipes can import belong to from conan.tools. Any other thing is private implementation and shouldn't be used in recipes.
  • Only documented, public (not preceded by _) tools can be used in recipes.

Contents:

.. toctree::
   :maxdepth: 2

   tools/cmake
   tools/gnu
   tools/apple
   tools/env
   tools/build
   tools/files
   tools/meson
   tools/system
   tools/microsoft
   tools/scm
   tools/layout
   tools/intel
   tools/android
   tools/b2