You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
658 B
16 lines
658 B
add_library(scopedA INTERFACE IMPORTED)
|
|
set_property(TARGET scopedA PROPERTY INTERFACE_COMPILE_DEFINITIONS "SCOPED_A_1")
|
|
|
|
add_library(scopedB INTERFACE IMPORTED)
|
|
set_property(TARGET scopedB PROPERTY INTERFACE_COMPILE_DEFINITIONS "SCOPED_B_1")
|
|
|
|
add_library(scope1_iface INTERFACE)
|
|
set_property(TARGET scope1_iface PROPERTY INTERFACE_COMPILE_DEFINITIONS
|
|
"$<TARGET_PROPERTY:scopedA,INTERFACE_COMPILE_DEFINITIONS>"
|
|
"$<TARGET_PROPERTY:scopedB,INTERFACE_COMPILE_DEFINITIONS>"
|
|
)
|
|
set_property(TARGET scope1_iface PROPERTY CUSTOM_PROP
|
|
"$<TARGET_PROPERTY:scopedA,INTERFACE_COMPILE_DEFINITIONS>"
|
|
"$<TARGET_PROPERTY:scopedB,INTERFACE_COMPILE_DEFINITIONS>"
|
|
)
|