zephyr/cmake/modules
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
..
arch.cmake
boards.cmake
ccache.cmake
configuration_files.cmake
doc.cmake cmake: doc: created a doc.cmake CMake module in Zephyr CMake modules dir 2022-02-22 10:02:39 -08:00
dts.cmake
extensions.cmake
generic_toolchain.cmake
host-tools.cmake
kconfig.cmake
kernel.cmake
python.cmake
root.cmake
shields.cmake
soc.cmake
target_toolchain.cmake
unittest.cmake
user_cache.cmake
verify-toolchain.cmake
version.cmake
west.cmake
zephyr_default.cmake cmake: support sub-component loading in zephyr_default module 2022-02-23 11:34:22 -08:00
zephyr_module.cmake