Rework ordering of cmake, so that libraries in subdirectories can add to internal lists as PICO_SDK_POST_LIST_FILES, PICO_CONFIG_HEADER_FILES etc. (#382)

Move generation of config header later, so it gets to include all values for PICO_CONFIG_HEADER_FILES
This commit is contained in:
Graham Sanderson
2021-05-11 10:33:34 -05:00
committed by GitHub
parent 9396b9c7e1
commit e57b99a652
8 changed files with 54 additions and 33 deletions

View File

@ -4,3 +4,5 @@ pico_add_subdirectory(hardware_structs)
pico_add_doxygen(${CMAKE_CURRENT_LIST_DIR})
pico_add_doxygen_exclude(${CMAKE_CURRENT_LIST_DIR}/hardware_regs) # very very big
pico_promote_common_scope_vars()