Skip to content

Documentation for Cmake Zephyr module macros #52201

@vChavezB

Description

@vChavezB

Is your feature request related to a problem? Please describe.
No.

Describe the solution you'd like
I have been using the Zephyr modules but most of the Cmake functions seemed obsure to me. I had to dig in the source code to check exactly what zephyr does in the background:

I would suggest a link to the source file so its easier to know what are all the options available for zephyr cmake modules.

For example I did not know about the zephyr_library_named function until I checked the source code.

add_library(${name} STATIC "")

I guess its not easy to auto-generate documentation from .cmake files but at least a link to where all the cmake functions to work with modules would be helpful.

If there is a link with documentation (rather than manually looking the source code) it would be nice to know where its located since I did not find it here

https://docs.zephyrproject.org/3.1.0/develop/modules.html

Metadata

Metadata

Projects

Status

Discussion required/RFC

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions