Rework ordering of cmake build #382

Merged
kilograham merged 1 commit from cmake-build-order into develop 2021-05-11 10:33:34 -05:00
kilograham commented 2021-05-05 15:24:30 -05:00 (Migrated from github.com)

... so that libraries in subdirectories can add to internal lists as PICO_SDK_POST_LIST_FILES, PICO_CONFIG_HEADER_FILES etc.

Move generation of config header later, so it gets to include all values for PICO_CONFIG_HEADER_FILES

... so that libraries in subdirectories can add to internal lists as PICO_SDK_POST_LIST_FILES, PICO_CONFIG_HEADER_FILES etc. Move generation of config header later, so it gets to include all values for PICO_CONFIG_HEADER_FILES
Wren6991 (Migrated from github.com) reviewed 2021-05-05 15:24:30 -05:00
kilograham commented 2021-05-11 10:33:38 -05:00 (Migrated from github.com)

still requires review b4 merge to master

still requires review b4 merge to master
lurch (Migrated from github.com) reviewed 2021-05-11 11:15:24 -05:00
@ -63,0 +63,4 @@
macro(pico_promote_common_scope_vars)
set(PICO_INCLUDE_DIRS ${PICO_INCLUDE_DIRS} PARENT_SCOPE)
set(PICO_SDK_POST_LIST_DIRS ${PICO_SDK_PRE_LIST_FILES} PARENT_SCOPE)
lurch (Migrated from github.com) commented 2021-05-11 11:15:24 -05:00

Huh? This line mentions both POST_LIST and PRE_LIST ? (and both _DIRS and _FILES) 😕

Huh? This line mentions both POST_LIST and PRE_LIST ? (and both _DIRS and _FILES) :confused:
kilograham (Migrated from github.com) reviewed 2021-05-11 18:20:56 -05:00
@ -63,0 +63,4 @@
macro(pico_promote_common_scope_vars)
set(PICO_INCLUDE_DIRS ${PICO_INCLUDE_DIRS} PARENT_SCOPE)
set(PICO_SDK_POST_LIST_DIRS ${PICO_SDK_PRE_LIST_FILES} PARENT_SCOPE)
kilograham (Migrated from github.com) commented 2021-05-11 18:20:56 -05:00

good spot

good spot
liamfraser (Migrated from github.com) reviewed 2021-05-18 10:57:36 -05:00
liamfraser (Migrated from github.com) left a comment

LGTM

LGTM
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-raspberrypi/pico-sdk!382
No description provided.