kernel
Main Zephyr Kernel CMake module.
This module is responsible for creating Zephyr libraries and the Zephyr executable. It creates a CMake project named Zephyr-Kernel and defines properties used while configuring libraries to be built.
Variables
After loading this module, the following global variables are defined:
- ZEPHYR_LIBS
Global list of all Zephyr CMake libraries that should be linked in.
zephyr_library()appends libraries to this list.
- ZEPHYR_INTERFACE_LIBS
Global list of all Zephyr interface libraries that should be linked in.
zephyr_interface_library_named()appends libraries to this list.
- GENERATED_APP_SOURCE_FILES
Source files that are generated after Zephyr has been linked once. May include dev_handles.c etc.
Targets
Usage
This module is not intended for direct loading, but should be loaded through
find_package(Zephyr). It won’t load any Zephyr CMake modules by itself.