
Teach the `$<TARGET_PROPERTY:...>` generator expression to check for a new `TRANSITIVE_LINK_PROPERTIES` property in the target's link closure to enable transitive evaluation of named properties through the link closure, including entries guarded by `$<LINK_ONLY:...>`. Fixes: #20416
65 lines
1.4 KiB
C
65 lines
1.4 KiB
C
#ifndef CUSTOM_A_IFACE1
|
|
# error "CUSTOM_A_IFACE1 incorrectly not defined"
|
|
#endif
|
|
|
|
#ifndef CUSTOM_A_IFACE2
|
|
# error "CUSTOM_A_IFACE2 incorrectly not defined"
|
|
#endif
|
|
|
|
#ifndef CUSTOM_A_STATIC1
|
|
# error "CUSTOM_A_STATIC1 incorrectly not defined"
|
|
#endif
|
|
|
|
#ifndef CUSTOM_A_TARGET_NAME_STATIC1
|
|
# error "CUSTOM_A_TARGET_NAME_STATIC1 incorrectly not defined"
|
|
#endif
|
|
|
|
#ifndef CUSTOM_A_TARGET_TYPE_STATIC_LIBRARY
|
|
# error "CUSTOM_A_TARGET_TYPE_STATIC_LIBRARY incorrectly not defined"
|
|
#endif
|
|
|
|
#ifndef CUSTOM_B_IFACE1
|
|
# error "CUSTOM_B_IFACE1 incorrectly not defined"
|
|
#endif
|
|
|
|
#ifndef CUSTOM_B_STATIC1
|
|
# error "CUSTOM_B_STATIC1 incorrectly not defined"
|
|
#endif
|
|
|
|
#ifdef CUSTOM_B_STATIC1_IFACE
|
|
# error "CUSTOM_B_STATIC1_IFACE incorrectly defined"
|
|
#endif
|
|
|
|
#ifndef CUSTOM_U_IFACE1
|
|
# error "CUSTOM_U_IFACE1 incorrectly not defined"
|
|
#endif
|
|
|
|
#ifndef CUSTOM_U_IFACE2
|
|
# error "CUSTOM_U_IFACE2 incorrectly not defined"
|
|
#endif
|
|
|
|
#ifndef CUSTOM_U_STATIC1
|
|
# error "CUSTOM_U_STATIC1 incorrectly not defined"
|
|
#endif
|
|
|
|
#ifndef CUSTOM_U_TARGET_NAME_STATIC1
|
|
# error "CUSTOM_U_TARGET_NAME_STATIC1 incorrectly not defined"
|
|
#endif
|
|
|
|
#ifndef CUSTOM_U_TARGET_TYPE_STATIC_LIBRARY
|
|
# error "CUSTOM_U_TARGET_TYPE_STATIC_LIBRARY incorrectly not defined"
|
|
#endif
|
|
|
|
#ifndef CUSTOM_V_IFACE1
|
|
# error "CUSTOM_V_IFACE1 incorrectly not defined"
|
|
#endif
|
|
|
|
#ifndef CUSTOM_V_STATIC1
|
|
# error "CUSTOM_V_STATIC1 incorrectly not defined"
|
|
#endif
|
|
|
|
int static1(void)
|
|
{
|
|
return 0;
|
|
}
|