zephyr/share/zephyr-package/cmake
Torsten Rasmussen 31e90f1bc5 cmake: support sub-component loading in zephyr_default module
This commit allows to load only subcomponents of the default Zephyr
CMake module, zephyr_default.cmake.

This allows other tools to execute Zephyr CMake build system up to a
specific module and the stop further processing.

This commit is an enabler for future support in twister to process only
devicetree or kconfig, to allow test / sample filtering before
generating a complete build system.

Sub-components can be loaded as:
> find_package(Zephyr COMPONENTS zephyr_default:<sub-component>)

for example:
> find_package(Zephyr COMPONENTS zephyr_default:dts)

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2022-02-23 11:34:22 -08:00
..
zephyr_export.cmake cmake: using MD5_INFILE variable instead of ZephyrPackagePath.txt 2021-02-23 19:34:27 +01:00
zephyr_package_search.cmake cmake: fixing infinite loop when searching for Zephyr on windows 2020-05-05 10:02:11 -05:00
ZephyrConfig.cmake cmake: support sub-component loading in zephyr_default module 2022-02-23 11:34:22 -08:00
ZephyrConfigVersion.cmake cmake: Zephyr CMake package and CMake modules 2022-02-22 10:02:39 -08:00