Skip to content
Permalink
Browse files

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>
  • Loading branch information...
marc-hb authored and nashif committed Apr 11, 2019
1 parent bd7f4fc commit 3ad96bfc91adb4a639e992369a8a8048dfb730fd
Showing with 19 additions and 0 deletions.
  1. +19 −0 cmake/extensions.cmake
@@ -42,6 +42,25 @@
# ${CMAKE_CURRENT_SOURCE_DIR}/random_esp32.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
function(zephyr_sources)

0 comments on commit 3ad96bf

Please sign in to comment.
You can’t perform that action at this time.