extensions.cmake: add two cc/compile_options callgraph comments
This would have saved me about an hour exploring the code and piecing it together. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
parent
bd7f4fc613
commit
3ad96bfc91
1 changed files with 19 additions and 0 deletions
|
@ -42,6 +42,25 @@
|
||||||
# ${CMAKE_CURRENT_SOURCE_DIR}/random_esp32.c
|
# ${CMAKE_CURRENT_SOURCE_DIR}/random_esp32.c
|
||||||
# ${CMAKE_CURRENT_SOURCE_DIR}/utils.c
|
# ${CMAKE_CURRENT_SOURCE_DIR}/utils.c
|
||||||
# )
|
# )
|
||||||
|
#
|
||||||
|
# As a very high-level introduction here are two call graphs that are
|
||||||
|
# purposely minimalistic and incomplete.
|
||||||
|
#
|
||||||
|
# zephyr_library_cc_option()
|
||||||
|
# |
|
||||||
|
# v
|
||||||
|
# zephyr_library_compile_options() --> target_compile_options()
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# zephyr_cc_option() ---> target_cc_option()
|
||||||
|
# |
|
||||||
|
# v
|
||||||
|
# zephyr_cc_option_fallback() ---> target_cc_option_fallback()
|
||||||
|
# |
|
||||||
|
# v
|
||||||
|
# zephyr_compile_options() ---> target_compile_options()
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
# https://cmake.org/cmake/help/latest/command/target_sources.html
|
# https://cmake.org/cmake/help/latest/command/target_sources.html
|
||||||
function(zephyr_sources)
|
function(zephyr_sources)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue