API Reference
*************

This page is an automatically generated reference for the public API of Build System v2, extracted from the CMake source in ``tools/cmakev2``. For how these are used in practice, see the guides on the :doc:`Build System v2 <index>` page.

.. contents::
   :local:
   :depth: 1

.. _cmakev2_functions:

Functions
=========


.. _cmakev2_macros:

Macros
======


.. _cmakev2_variables:

Variables
=========


.. _cmakev2_build_properties:

Build Properties
================

Build properties are global to the project and are read and written with :cmakev2:ref:`idf_build_get_property` and :cmakev2:ref:`idf_build_set_property`.


.. _cmakev2_component_properties:

Component Properties
====================

Component properties are attached to a single component and are read and written with :cmakev2:ref:`idf_component_get_property` and :cmakev2:ref:`idf_component_set_property`.


.. cmakev2:include:: ../../../../tools/cmakev2/build.cmake
.. cmakev2:include:: ../../../../tools/cmakev2/compat.cmake
.. cmakev2:include:: ../../../../tools/cmakev2/component.cmake
.. cmakev2:include:: ../../../../tools/cmakev2/dfu.cmake
.. cmakev2:include:: ../../../../tools/cmakev2/idf.cmake
.. cmakev2:include:: ../../../../tools/cmakev2/kconfig.cmake
.. cmakev2:include:: ../../../../tools/cmakev2/ldgen.cmake
.. cmakev2:include:: ../../../../tools/cmakev2/manager.cmake
.. cmakev2:include:: ../../../../tools/cmakev2/project.cmake
.. cmakev2:include:: ../../../../tools/cmakev2/size.cmake
.. cmakev2:include:: ../../../../tools/cmakev2/uf2.cmake
.. cmakev2:include:: ../../../../tools/cmakev2/utilities.cmake
.. cmakev2:include:: ../../../../tools/cmakev2/component_validation.cmake
