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

5 lines
90 B
CMake

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