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.
9 lines
431 B
9 lines
431 B
add_library(imp::iface INTERFACE IMPORTED)
|
|
set_property(TARGET imp::iface APPEND PROPERTY COMPATIBLE_INTERFACE_BOOL SOMEPROP)
|
|
set_property(TARGET imp::iface PROPERTY INTERFACE_SOMEPROP ON)
|
|
set_property(TARGET imp::iface PROPERTY INTERFACE_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/sub.cpp)
|
|
|
|
add_library(subiface INTERFACE)
|
|
target_link_libraries(subiface INTERFACE imp::iface)
|
|
set_property(TARGET subiface PROPERTY INTERFACE_SOMEPROP ON)
|