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

5 lines
88 B
CMake
Raw Normal View History

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