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

7 lines
107 B
CMake
Raw Normal View History

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