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

5 lines
90 B
CMake
Raw Normal View History

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