make all non hardware_ libraries foo add C preprocessor definition LIB_FOO=1, and remove bespoke definitions which were all undocumented anyway (#374)
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
add_library(pico_stdio_uart INTERFACE)
|
||||
pico_add_impl_library(pico_stdio_uart)
|
||||
|
||||
target_sources(pico_stdio_uart INTERFACE
|
||||
${CMAKE_CURRENT_LIST_DIR}/stdio_uart.c
|
||||
@ -6,8 +6,4 @@ target_sources(pico_stdio_uart INTERFACE
|
||||
|
||||
target_include_directories(pico_stdio_uart INTERFACE ${CMAKE_CURRENT_LIST_DIR}/include)
|
||||
|
||||
target_compile_definitions(pico_stdio_uart INTERFACE
|
||||
PICO_STDIO_UART=1
|
||||
)
|
||||
|
||||
target_link_libraries(pico_stdio_uart INTERFACE pico_stdio)
|
Reference in New Issue
Block a user