CMake/Tests/RunCMake/interface_library/add_custom_command-TARGET.c...

7 lines
107 B
CMake

add_library(iface INTERFACE)
add_custom_command(TARGET iface
COMMAND "${CMAKE_COMMAND}" -E echo test
)