CMake/Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target...

5 lines
88 B
CMake

add_custom_command(TARGET foobar PRE_BUILD
COMMAND ${CMAKE_COMMAND} -E hello world
)