forked from raspberrypi/pico-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change INTERFACE to SYSTEM INTERFACE target_include_directories
Should not be merged upstream, just a proof of concept
- Loading branch information
Showing
9 changed files
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
if (NOT TARGET pico_stdlib_headers) | ||
add_library(pico_stdlib_headers INTERFACE) | ||
target_include_directories(pico_stdlib_headers INTERFACE include) | ||
target_include_directories(pico_stdlib_headers SYSTEM INTERFACE include) | ||
target_link_libraries(pico_stdlib_headers INTERFACE | ||
hardware_gpio | ||
hardware_uart | ||
hardware_divider | ||
pico_time | ||
pico_util | ||
) | ||
endif() | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
add_library(hardware_base INTERFACE) | ||
target_include_directories(hardware_base INTERFACE ${CMAKE_CURRENT_LIST_DIR}/include) | ||
target_link_libraries(hardware_base INTERFACE pico_base_headers) | ||
target_include_directories(hardware_base SYSTEM INTERFACE ${CMAKE_CURRENT_LIST_DIR}/include) | ||
target_link_libraries(hardware_base INTERFACE pico_base_headers) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters