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.
8 lines
363 B
8 lines
363 B
add_library(iface INTERFACE)
|
|
target_sources(iface INTERFACE $<TARGET_OBJECTS:NoTarget>)
|
|
|
|
file(GENERATE OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/test_output CONTENT $<TARGET_OBJECTS:NoTarget>)
|
|
file(GENERATE OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/test_output2 CONTENT $<TARGET_PROPERTY:iface,INTERFACE_SOURCES>)
|
|
|
|
install(FILES $<TARGET_OBJECTS:NoTarget> DESTINATION objects)
|