feat(cmakev2): Export public API in the generated build system v2 reference

Promote the build system v2 functions and macros used by the
examples/build_system/cmakev2 examples to the generated API reference,
document the component-scope and version variables, the public build
properties, and the public component properties, and add cmakev2
build_property and component_property directives with dedicated Build
Properties and Component Properties sections to the esp-docs extension.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
This commit is contained in:
Frantisek Hrbata
2026-06-18 14:48:26 +02:00
parent 67fdf46105
commit f2c3fd3966
7 changed files with 238 additions and 66 deletions
+2 -2
View File
@@ -540,7 +540,7 @@ function(__init_project_flash_targets)
endif()
endfunction()
#[[
#[[api
.. cmakev2:macro:: idf_project_init
.. code-block:: cmake
@@ -679,7 +679,7 @@ macro(idf_project_init)
unset(project_initialized)
endmacro()
#[[
#[[api
.. cmakev2:function:: idf_build_generate_flasher_args
.. code-block:: cmake