add_library(hardware_structs INTERFACE) add_library(hardware_structs_headers INTERFACE) target_include_directories(hardware_structs_headers SYSTEM INTERFACE include) pico_mirrored_target_link_libraries(hardware_structs INTERFACE hardware_regs)