-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMake build architecture documentation #9947
Comments
@SebastianBoe , @tejlmand, @mped-oticon, @carlescufi is this issue #9947 the right place to discuss this sphinx-moderncmakedomain prototype and proposal? I have a number of questions (see latest commit) and I'd like to get the discussion started but not in the wrong place. Thx! |
Hi, very sorry for the late reply. A dedicated PR with an RFC or DNM tag seems to me to be the best place to discuss the prototype. |
Quick and dirty proof of concept to (hopefully) get some feedback. Related to issue zephyrproject-rtos#9947 Includes a test hack to disable doxygen and reduce the build time to less than 10 seconds. To test on Linux: SPHINXOPTS=-v make htmldocs-fast Output in: doc/_build/html/zephyr-cmake.html Signed-off-by: Marc Herbert <marc.herbert@intel.com>
I believe this is resolved by #20324 , if not I'd like to know more about what needs to be documented. |
Re-opened, as #20324 only describes the high level architecture (which is also important). But it does not describe What we need is something similar to the proposal in #13805 The problem today, is that people must read: https://github.com/zephyrproject-rtos/zephyr/blob/master/cmake/extensions.cmake Also, having them documented only in a cmake file, means they will not show up when people search. @marc-hb should we reopen 13805 and continue work ? |
Hi @tejlmand, This issue, marked as an Enhancement, was opened a while ago and did not get any traction. Please confirm the issue is correctly assigned and re-assign it otherwise. Please take a moment to review if the issue is still relevant to the project. If it is, please provide feedback and direction on how to move forward. If it is not, has already been addressed, is a duplicate, or is no longer relevant, please close it with a short comment explaining the reason. Thanks! |
This is still valid and valuable IMHO |
Currently the CMake documentation
https://docs.zephyrproject.org/latest/application/application.html#cmake-details
targets users starting out with the creation of the own applications.
The CMake architecture, especially on how source is organized into libraries should be documented so it is clear and structured to zephyr contributors.
Areas of importance:
Also, important internals of the build system should be made with all important CMake variables, like:
ZEPHYR_<MODULE_NAME>
related variablesThe text was updated successfully, but these errors were encountered: