blob: c65aa91d55ae3fb3d645a86786b21ea2e0856398 [file] [log] [blame]
add_library(pico_stdio_semihosting INTERFACE)
target_sources(pico_stdio_semihosting INTERFACE
${CMAKE_CURRENT_LIST_DIR}/stdio_semihosting.c
)
target_include_directories(pico_stdio_semihosting INTERFACE ${CMAKE_CURRENT_LIST_DIR}/include)
target_compile_definitions(pico_stdio_semihosting INTERFACE
PICO_STDIO_SEMIHOSTING=1
)
target_link_libraries(pico_stdio_semihosting INTERFACE pico_stdio)