Lines Matching refs:target
47 # takes dependencies after the target
50 message(FATAL_ERROR "expected a target, scope and at least one dependency")
75 # add map file generation for the given target
86 # create a hardware_NAME_headers target (see pico_simple_hardware_headers_target)
87 # create a hardware_NAME target (see pico_simple_hardware_target)
93 # create an INTERFACE library named target, and define LIB_TARGET=1 (upper case) as a compile option
96 function(pico_add_impl_library target)
97 add_library(${target} INTERFACE)
98 string(TOUPPER ${target} TARGET_UPPER)
104 target_compile_definitions(${target} INTERFACE LIB_${TARGET_UPPER}=1)
106 target_link_libraries(${target} INTERFACE ${target}_headers)
109 # create an INTERFACE library named target along with associated header, and define LIB_TARGET=1 (u…
111 function(pico_add_library target)
112 add_library(${target}_headers INTERFACE)
113 pico_add_impl_library(${target} ${ARGN})
142 # a headers only target should still have an explicit _headers library for consistency