Skip to content

Commit d585cdd

Browse files
tejlmandcarlescufi
authored andcommitted
doc: release notes: add Zephyr CMake package to release notes
This commit fills the Build and Infrastructure section with the Zephyr CMake package enhancement. Signed-off-by: Torsten Rasmussen <[email protected]> Signed-off-by: Carles Cufí <[email protected]>
1 parent a2f0a9e commit d585cdd

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

doc/releases/release-notes-2.3.rst

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,23 @@ Bluetooth
500500
Build and Infrastructure
501501
************************
502502

503-
* <TBD>
503+
* Zephyr CMake package
504+
505+
* The Zephyr main repository now includes a Zephyr CMake package.
506+
This allows for registering Zephyr in the CMake user package registry and
507+
allows for easier integration into Zephyr applications, by using the CMake
508+
function, ``find_package(Zephyr ...)``.
509+
Registering the Zephyr CMake package in the CMake user package registry
510+
removes the need for setting of ``ZEPHYR_BASE``, sourcing ``zephyr-env.sh``,
511+
or running ``zephyr-env.cmd``.
512+
* A new ``west`` extension command, ``west zephyr-export`` is introduced for easy
513+
registration of Zephyr CMake package in the CMake user package registry.
514+
* Zephyr Build Configuration CMake package hook.
515+
Zephyr offers the possibility of configuring the Zephyr build system through
516+
a Zephyr Build Configuration package. A single Zephyr workspace
517+
``ZephyrBuildConfig.cmake`` will be loaded if present in the Zephyr
518+
workspace. This allows users to configure the Zephyr build system on a per
519+
workspace setup, as an alternative to using a ``.zephyrrc`` system wide file.
504520

505521
* Devicetree
506522

0 commit comments

Comments
 (0)