add_custom_command-TARGET.cmake 107 B

123456
  1. add_library(iface INTERFACE)
  2. add_custom_command(TARGET iface
  3. COMMAND "${CMAKE_COMMAND}" -E echo test
  4. )