blob: b83b598d0bfbf1c8aed23f6ccfcba9caff4d2925 [file]
set(manualComment "Message X times:")
foreach(i RANGE 1 10850)
set(manualComment "${manualComment} hello")
endforeach()
add_custom_command(
OUTPUT out.txt
COMMAND "${CMAKE_COMMAND}" -E touch out.txt
COMMENT "${manualComment}"
)
add_custom_target(LongCommentUserProvided ALL DEPENDS out.txt)